@reef-knot/core-react 1.5.0 → 1.6.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.
@@ -0,0 +1,21 @@
1
+ export declare const holesky: {
2
+ readonly id: 17000;
3
+ readonly network: "holesky";
4
+ readonly name: "Holesky";
5
+ readonly nativeCurrency: {
6
+ readonly name: "Holesky Ether";
7
+ readonly symbol: "ETH";
8
+ readonly decimals: 18;
9
+ };
10
+ readonly rpcUrls: {
11
+ readonly default: {
12
+ readonly http: readonly ["https://rpc.holesky.ethpandaops.io"];
13
+ };
14
+ readonly public: {
15
+ readonly http: readonly ["https://rpc.holesky.ethpandaops.io"];
16
+ };
17
+ };
18
+ readonly contracts: {};
19
+ readonly testnet: true;
20
+ };
21
+ //# sourceMappingURL=holesky.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"holesky.d.ts","sourceRoot":"","sources":["../../src/chains/holesky.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;CAeM,CAAC"}
@@ -0,0 +1,25 @@
1
+ // wagmi v1.x already provides this chain (it takes it from viem and re-exports)
2
+ // But, because we use wagmi v0.x, we have to define the chain like this.
3
+ // Can be removed after updating wagmi to v1.x
4
+ const holesky = {
5
+ id: 17000,
6
+ network: 'holesky',
7
+ name: 'Holesky',
8
+ nativeCurrency: {
9
+ name: 'Holesky Ether',
10
+ symbol: 'ETH',
11
+ decimals: 18
12
+ },
13
+ rpcUrls: {
14
+ default: {
15
+ http: ['https://rpc.holesky.ethpandaops.io']
16
+ },
17
+ public: {
18
+ http: ['https://rpc.holesky.ethpandaops.io']
19
+ }
20
+ },
21
+ contracts: {},
22
+ testnet: true
23
+ };
24
+
25
+ export { holesky };
@@ -0,0 +1,2 @@
1
+ export * from './holesky';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/chains/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA"}
@@ -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,6 @@
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';
5
+ export * from './chains';
7
6
  //# 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;AAC5B,cAAc,UAAU,CAAC"}
package/dist/index.js CHANGED
@@ -1,4 +1,6 @@
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';
6
+ export { holesky } from './chains/holesky.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.6.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {