@spicenet-io/spiceflow-core 0.5.1 → 0.5.4
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.
- package/dist/chains/list.d.ts.map +1 -1
- package/dist/chains/types.d.ts +1 -1
- package/dist/chains/types.d.ts.map +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.js +1 -0
- package/dist/logos.d.ts.map +1 -1
- package/package.json +6 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../src/chains/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAc5C,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../src/chains/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAc5C,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CA8O5C,CAAC"}
|
package/dist/chains/types.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export interface ChainMeta {
|
|
|
20
20
|
chainType?: ChainType;
|
|
21
21
|
/** Hex string chain ID for non-EVM chains where numeric ID exceeds MAX_SAFE_INTEGER */
|
|
22
22
|
chainIdHex?: string;
|
|
23
|
-
delegateContract
|
|
23
|
+
delegateContract: `0x${string}`;
|
|
24
24
|
escrowContract?: `0x${string}`;
|
|
25
25
|
blockExplorer: string;
|
|
26
26
|
rpcUrl: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/chains/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC;AAC5C,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,UAAU,CAAC;AAE3C;;;;;;G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874,6 +874,7 @@ var CHAINS = {
|
|
|
874
874
|
network: "mainnet",
|
|
875
875
|
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
|
|
876
876
|
delegateContract: "0x5884Bff4876C979271E65D2feA8D0CF3bF6E6CcC",
|
|
877
|
+
escrowContract: "0x93ee466f920e1b4961f85749001f03aAd868eF0E",
|
|
877
878
|
blockExplorer: "https://etherscan.io",
|
|
878
879
|
rpcUrl: "https://eth-mainnet.g.alchemy.com/v2/7SgOekVydB9TOyNk3NKj8",
|
|
879
880
|
logo: logo_eth
|
package/dist/index.js
CHANGED
|
@@ -786,6 +786,7 @@ var CHAINS = {
|
|
|
786
786
|
network: "mainnet",
|
|
787
787
|
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
|
|
788
788
|
delegateContract: "0x5884Bff4876C979271E65D2feA8D0CF3bF6E6CcC",
|
|
789
|
+
escrowContract: "0x93ee466f920e1b4961f85749001f03aAd868eF0E",
|
|
789
790
|
blockExplorer: "https://etherscan.io",
|
|
790
791
|
rpcUrl: "https://eth-mainnet.g.alchemy.com/v2/7SgOekVydB9TOyNk3NKj8",
|
|
791
792
|
logo: logo_eth
|
package/dist/logos.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logos.d.ts","sourceRoot":"","sources":["../src/logos.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"logos.d.ts","sourceRoot":"","sources":["../src/logos.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,mpDAC6nD,CAAC;AACnpD,eAAO,MAAM,SAAS,2hCACogC,CAAC;AAC3hC,eAAO,MAAM,QAAQ,2tMACqsM,CAAC;AAC3tM,eAAO,MAAM,SAAS,usCACgrC,CAAC;AACvsC,eAAO,MAAM,WAAW,usCAC8qC,CAAC;AACvsC,eAAO,MAAM,QAAQ,mvCAC6tC,CAAC;AACnvC,eAAO,MAAM,UAAU,ujGAC+hG,CAAC;AACvjG,eAAO,MAAM,WAAW,4/FACm+F,CAAC;AAC5/F,eAAO,MAAM,YAAY,+8HACq7H,CAAC;AAC/8H,eAAO,MAAM,cAAc,+lEACmkE,CAAC;AAC/lE,eAAO,MAAM,aAAa,unuEAC4luE,CAAC;AACvnuE,eAAO,MAAM,SAAS,m2GAC40G,CAAC;AACn2G,eAAO,MAAM,SAAS,+hMACwgM,CAAC;AAC/hM,eAAO,MAAM,SAAS,uhDACggD,CAAC;AACvhD,eAAO,MAAM,SAAS,msIAC4qI,CAAC;AAEnsI,eAAO,MAAM,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAgBxC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spicenet-io/spiceflow-core",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -10,14 +10,15 @@
|
|
|
10
10
|
],
|
|
11
11
|
"scripts": {
|
|
12
12
|
"validate:tokens": "tsx scripts/validate-tokens.ts",
|
|
13
|
-
"generate:logos": "tsx scripts/generate-logos.ts",
|
|
14
|
-
"build": "
|
|
13
|
+
"generate:logos": "tsx scripts/generate-logos.ts && prettier --write src/logos.ts --log-level silent",
|
|
14
|
+
"build": "bun run generate:logos && bun run validate:tokens && rimraf dist && tsup src/index.ts --format esm,cjs --out-dir dist --clean && tsc -p tsconfig.json --emitDeclarationOnly",
|
|
15
15
|
"setup:hooks": "cp scripts/hooks/pre-push .git/hooks/pre-push && chmod +x .git/hooks/pre-push",
|
|
16
16
|
"format": "prettier --write . --ignore-unknown",
|
|
17
17
|
"docs:build": "typedoc --options typedoc.json",
|
|
18
18
|
"docs:clean": "rimraf docs",
|
|
19
|
-
"docs:serve": "
|
|
20
|
-
"prepare": "husky || true"
|
|
19
|
+
"docs:serve": "bunx http-server docs -p 3000 --silent",
|
|
20
|
+
"prepare": "husky || true",
|
|
21
|
+
"prepack": "bun run build"
|
|
21
22
|
},
|
|
22
23
|
"exports": {
|
|
23
24
|
".": {
|