@flopflip/graphql-adapter 13.2.2 → 13.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -36,7 +36,7 @@ var isEqual__default = /*#__PURE__*/_interopDefault(isEqual);
|
|
|
36
36
|
var mitt__default = /*#__PURE__*/_interopDefault(mitt);
|
|
37
37
|
var warning__default = /*#__PURE__*/_interopDefault(warning);
|
|
38
38
|
|
|
39
|
-
const STORAGE_SLICE = '@flopflip';
|
|
39
|
+
const STORAGE_SLICE = '@flopflip/graphql-adapter';
|
|
40
40
|
const intialAdapterState = {
|
|
41
41
|
subscriptionStatus: types.AdapterSubscriptionStatus.Subscribed,
|
|
42
42
|
configurationStatus: types.AdapterConfigurationStatus.Unconfigured,
|
|
@@ -82,8 +82,6 @@ class GraphQlAdapter {
|
|
|
82
82
|
writable: true,
|
|
83
83
|
value: async cacheIdentifier => {
|
|
84
84
|
let cacheModule;
|
|
85
|
-
|
|
86
|
-
// eslint-disable-next-line default-case
|
|
87
85
|
switch (cacheIdentifier) {
|
|
88
86
|
case types.cacheIdentifiers.local:
|
|
89
87
|
{
|
|
@@ -280,7 +278,7 @@ class GraphQlAdapter {
|
|
|
280
278
|
const adapter = new GraphQlAdapter();
|
|
281
279
|
adapterUtilities.exposeGlobally(adapter);
|
|
282
280
|
|
|
283
|
-
const version = "13.
|
|
281
|
+
const version = "13.3.0";
|
|
284
282
|
|
|
285
283
|
exports["default"] = adapter;
|
|
286
284
|
exports.version = version;
|
|
@@ -36,7 +36,7 @@ var isEqual__default = /*#__PURE__*/_interopDefault(isEqual);
|
|
|
36
36
|
var mitt__default = /*#__PURE__*/_interopDefault(mitt);
|
|
37
37
|
var warning__default = /*#__PURE__*/_interopDefault(warning);
|
|
38
38
|
|
|
39
|
-
const STORAGE_SLICE = '@flopflip';
|
|
39
|
+
const STORAGE_SLICE = '@flopflip/graphql-adapter';
|
|
40
40
|
const intialAdapterState = {
|
|
41
41
|
subscriptionStatus: types.AdapterSubscriptionStatus.Subscribed,
|
|
42
42
|
configurationStatus: types.AdapterConfigurationStatus.Unconfigured,
|
|
@@ -82,8 +82,6 @@ class GraphQlAdapter {
|
|
|
82
82
|
writable: true,
|
|
83
83
|
value: async cacheIdentifier => {
|
|
84
84
|
let cacheModule;
|
|
85
|
-
|
|
86
|
-
// eslint-disable-next-line default-case
|
|
87
85
|
switch (cacheIdentifier) {
|
|
88
86
|
case types.cacheIdentifiers.local:
|
|
89
87
|
{
|
|
@@ -280,7 +278,7 @@ class GraphQlAdapter {
|
|
|
280
278
|
const adapter = new GraphQlAdapter();
|
|
281
279
|
adapterUtilities.exposeGlobally(adapter);
|
|
282
280
|
|
|
283
|
-
const version = "13.
|
|
281
|
+
const version = "13.3.0";
|
|
284
282
|
|
|
285
283
|
exports["default"] = adapter;
|
|
286
284
|
exports.version = version;
|
|
@@ -8,7 +8,7 @@ import isEqual from 'lodash/isEqual';
|
|
|
8
8
|
import mitt from 'mitt';
|
|
9
9
|
import warning from 'tiny-warning';
|
|
10
10
|
|
|
11
|
-
const STORAGE_SLICE = '@flopflip';
|
|
11
|
+
const STORAGE_SLICE = '@flopflip/graphql-adapter';
|
|
12
12
|
const intialAdapterState = {
|
|
13
13
|
subscriptionStatus: AdapterSubscriptionStatus.Subscribed,
|
|
14
14
|
configurationStatus: AdapterConfigurationStatus.Unconfigured,
|
|
@@ -54,8 +54,6 @@ class GraphQlAdapter {
|
|
|
54
54
|
writable: true,
|
|
55
55
|
value: async cacheIdentifier => {
|
|
56
56
|
let cacheModule;
|
|
57
|
-
|
|
58
|
-
// eslint-disable-next-line default-case
|
|
59
57
|
switch (cacheIdentifier) {
|
|
60
58
|
case cacheIdentifiers.local:
|
|
61
59
|
{
|
|
@@ -252,6 +250,6 @@ class GraphQlAdapter {
|
|
|
252
250
|
const adapter = new GraphQlAdapter();
|
|
253
251
|
exposeGlobally(adapter);
|
|
254
252
|
|
|
255
|
-
const version = "13.
|
|
253
|
+
const version = "13.3.0";
|
|
256
254
|
|
|
257
255
|
export { adapter as default, version };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flopflip/graphql-adapter",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.3.0",
|
|
4
4
|
"description": "An GraphQL adapter for flipflop",
|
|
5
5
|
"main": "dist/flopflip-graphql-adapter.cjs.js",
|
|
6
6
|
"module": "dist/flopflip-graphql-adapter.esm.js",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@babel/runtime": "7.24.0",
|
|
33
|
-
"@flopflip/adapter-utilities": "13.
|
|
34
|
-
"@flopflip/localstorage-cache": "13.
|
|
35
|
-
"@flopflip/sessionstorage-cache": "13.
|
|
36
|
-
"@flopflip/types": "13.
|
|
33
|
+
"@flopflip/adapter-utilities": "13.3.0",
|
|
34
|
+
"@flopflip/localstorage-cache": "13.3.0",
|
|
35
|
+
"@flopflip/sessionstorage-cache": "13.3.0",
|
|
36
|
+
"@flopflip/types": "13.3.0",
|
|
37
37
|
"lodash": "4.17.21",
|
|
38
38
|
"mitt": "3.0.1",
|
|
39
39
|
"tiny-warning": "1.0.3"
|