@reef-knot/core-react 1.5.0 → 1.5.1

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.
@@ -0,0 +1,2 @@
1
+ export * from './localStorage';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const LS_KEY_TERMS_ACCEPTANCE = "reef-knot_accept-terms_n2";
2
+ //# sourceMappingURL=localStorage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"localStorage.d.ts","sourceRoot":"","sources":["../../src/constants/localStorage.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB,8BAA8B,CAAC"}
@@ -0,0 +1,5 @@
1
+ // This key can be changed to enforce all users to accept the Terms again,
2
+ // for example if the Terms were significantly updated
3
+ const LS_KEY_TERMS_ACCEPTANCE = 'reef-knot_accept-terms_n2';
4
+
5
+ export { LS_KEY_TERMS_ACCEPTANCE };
@@ -0,0 +1,3 @@
1
+ export * from './reefKnot';
2
+ export * from './acceptTermsModal';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/context/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,oBAAoB,CAAA"}
package/dist/index.d.ts CHANGED
@@ -1,7 +1,5 @@
1
1
  export * from './walletData';
2
2
  export * from './hooks';
3
- export type { AcceptTermsModalContextValue } from './context/acceptTermsModal.js';
4
- export { AcceptTermsModalContext, AcceptTermsModalContextProvider, } from './context/acceptTermsModal.js';
5
- export type { ReefKnotContextValue, ReefKnotContextProps, } from './context/reefKnot';
6
- export { ReefKnotContext, ReefKnot } from './context/reefKnot';
3
+ export * from './context';
4
+ export * from './constants';
7
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AAExB,YAAY,EAAE,4BAA4B,EAAE,MAAM,+BAA+B,CAAC;AAClF,OAAO,EACL,uBAAuB,EACvB,+BAA+B,GAChC,MAAM,+BAA+B,CAAC;AAEvC,YAAY,EACV,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC"}
package/dist/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  export { getConnectors, getWalletDataList } from './walletData/index.js';
2
2
  export { useReefKnotContext } from './hooks/useReefKnotContext.js';
3
- export { AcceptTermsModalContext, AcceptTermsModalContextProvider } from './context/acceptTermsModal.js';
4
3
  export { ReefKnot, ReefKnotContext } from './context/reefKnot.js';
4
+ export { AcceptTermsModalContext, AcceptTermsModalContextProvider } from './context/acceptTermsModal.js';
5
+ export { LS_KEY_TERMS_ACCEPTANCE } from './constants/localStorage.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reef-knot/core-react",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {