diff --git a/LICENSE b/LICENSE index 0fb9fe4..5b71088 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,8 @@ MIT License +Copyright (c) 2017 - 2018 Jonas Helfer Copyright (c) 2021 Social Auto Transport +Copyright (c) 2022 Asolvi Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 32e6599..c432814 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # apollo-link-queue-persist -**This is a fork from the repository below. The package was not published because of new rules for package names in npm. This fork also incorporates the QueueLink instance mentioned below, so that is no longer a requirement. Support for any ApolloClient subtype is also added.** +**This is a copy from the repository [`@SocialAutoTransport/apollo-link-queue-persist`][2]. The package was not published because of new rules for package names in npm and because of a lack of response, Asolvi is now the active maintainer and publisher of this package. The copy also incorporates the QueueLink instance mentioned below, so that is no longer a requirement. Support for any ApolloClient subtype is also added.** Simple persistence for any queued Apollo queries when using [`helfer/apollo-link-queue`][0]. At initial build time, @helfer has not yet pulled in the changes required in `apollo-link-queue` so in order for this to work, you'll need to make use of our fork at [`@SocialAutoTransport/apollo-link-queue`][1] @@ -8,6 +8,7 @@ Supports web and React Native. [See all storage providers.](#storage-providers) [0]: https://github.com/helfer/apollo-link-queue [1]: https://github.com/SocialAutoTransport/apollo-link-queue +[2]: https://github.com/SocialAutoTransport/apollo-link-queue-persist ## Basic Usage diff --git a/package-lock.json b/package-lock.json index c82d650..7e95286 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "apollo-link-queue-persist", - "version": "0.0.21", + "version": "0.0.22", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -4143,10 +4143,13 @@ "dev": true }, "node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", - "dev": true + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "dev": true, + "requires": { + "whatwg-url": "^5.0.0" + } }, "noop-logger": { "version": "0.1.1", @@ -5839,6 +5842,12 @@ "repeat-string": "^1.6.1" } }, + "tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=", + "dev": true + }, "ts-invariant": { "version": "0.7.3", "resolved": "https://registry.npmjs.org/ts-invariant/-/ts-invariant-0.7.3.tgz", @@ -6060,6 +6069,22 @@ "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==", "dev": true }, + "webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=", + "dev": true + }, + "whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", + "dev": true, + "requires": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, "which": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", diff --git a/package.json b/package.json index e6841d1..16819fe 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,6 @@ "version": "0.0.22", "description": "Simple persistence for Apollo link queue instances", "author": "Rob Newton ", - "contributors": [ - "Rob Newton " - ], "license": "MIT", "main": "./lib/cjs/index.js", "module": "./lib/index.js", @@ -13,10 +10,10 @@ "typings": "./lib/index.d.ts", "repository": { "type": "git", - "url": "git+https://github.com/SocialAutoTransport/apollo-link-queue-persist.git" + "url": "git+https://github.com/Asolvi/apollo-link-queue-persist.git" }, - "homepage": "https://github.com/SocialAutoTransport/apollo-link-queue-persist.git#readme", - "bugs": "https://github.com/SocialAutoTransport/apollo-link-queue-persist.git/issues", + "homepage": "https://github.com/Asolvi/apollo-link-queue-persist.git#readme", + "bugs": "https://github.com/Asolvi/apollo-link-queue-persist.git/issues", "scripts": { "build:browser": "browserify ./lib/bundle.umd.js -o=./lib/bundle.js && npm run minify:browser", "build": "tsc -p . && tsc -p ./tsconfig.cjs.json",