Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# 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]

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

Expand Down
35 changes: 30 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,17 @@
"version": "0.0.22",
"description": "Simple persistence for Apollo link queue instances",
"author": "Rob Newton <[email protected]>",
"contributors": [
"Rob Newton <[email protected]>"
],
"license": "MIT",
"main": "./lib/cjs/index.js",
"module": "./lib/index.js",
"jsnext:main": "./lib/index.js",
"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",
Expand Down