@spicenet-io/spiceflow-core 0.7.0-next.0 → 0.7.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.
- package/dist/chains/list.d.ts.map +1 -1
- package/dist/chains/types.d.ts +0 -10
- package/dist/chains/types.d.ts.map +1 -1
- package/dist/index.cjs +8 -16
- package/dist/index.js +8 -16
- package/package.json +1 -1
|
@@ -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,CA2P5C,CAAC"}
|
package/dist/chains/types.d.ts
CHANGED
|
@@ -26,15 +26,5 @@ export interface ChainMeta {
|
|
|
26
26
|
rpcUrl: string;
|
|
27
27
|
logo: string;
|
|
28
28
|
wrappedNativeTokenAddress?: `0x${string}`;
|
|
29
|
-
/**
|
|
30
|
-
* Value for the `chain` query parameter of the Moralis Web3 Data API, which
|
|
31
|
-
* backs wallet token discovery. Moralis takes either a name alias or the hex
|
|
32
|
-
* chain id for every chain it indexes, so both forms appear here.
|
|
33
|
-
*
|
|
34
|
-
* Set it only on a chain Moralis actually indexes, and re-check when adding
|
|
35
|
-
* one — Moralis has dropped chains before. Absent is the safe default: it
|
|
36
|
-
* means callers read a fixed token list over RPC instead.
|
|
37
|
-
*/
|
|
38
|
-
moralisId?: string;
|
|
39
29
|
}
|
|
40
30
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -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;;;;;;GAMG;AACH,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;IACnE,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,uFAAuF;IACvF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,KAAK,MAAM,EAAE,CAAC;IAChC,cAAc,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,yBAAyB,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;
|
|
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;;;;;;GAMG;AACH,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;IACnE,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,uFAAuF;IACvF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,KAAK,MAAM,EAAE,CAAC;IAChC,cAAc,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,yBAAyB,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;CAC3C"}
|
package/dist/index.cjs
CHANGED
|
@@ -891,8 +891,7 @@ var CHAINS = {
|
|
|
891
891
|
escrowContract: "0x93ee466f920e1b4961f85749001f03aAd868eF0E",
|
|
892
892
|
blockExplorer: "https://etherscan.io",
|
|
893
893
|
rpcUrl: "https://eth-mainnet.g.alchemy.com/v2/alch_4ehgbBF6bx-U6loLSFRIy",
|
|
894
|
-
logo: logo_eth
|
|
895
|
-
moralisId: "eth"
|
|
894
|
+
logo: logo_eth
|
|
896
895
|
},
|
|
897
896
|
8453: {
|
|
898
897
|
id: 8453,
|
|
@@ -904,8 +903,7 @@ var CHAINS = {
|
|
|
904
903
|
escrowContract: "0xd3F8f177BB3d7dfD883d7c232f3093EdD61C3De9",
|
|
905
904
|
blockExplorer: "https://basescan.org",
|
|
906
905
|
rpcUrl: "https://base-mainnet.g.alchemy.com/v2/alch_4ehgbBF6bx-U6loLSFRIy",
|
|
907
|
-
logo: logo_base
|
|
908
|
-
moralisId: "base"
|
|
906
|
+
logo: logo_base
|
|
909
907
|
},
|
|
910
908
|
42161: {
|
|
911
909
|
id: 42161,
|
|
@@ -917,8 +915,7 @@ var CHAINS = {
|
|
|
917
915
|
escrowContract: "0x47d6DB10d99b1E0A074B1467407C7A53B68e1147",
|
|
918
916
|
blockExplorer: "https://arbiscan.io",
|
|
919
917
|
rpcUrl: "https://arb-mainnet.g.alchemy.com/v2/alch_4ehgbBF6bx-U6loLSFRIy",
|
|
920
|
-
logo: logo_arb
|
|
921
|
-
moralisId: "arbitrum"
|
|
918
|
+
logo: logo_arb
|
|
922
919
|
},
|
|
923
920
|
4114: {
|
|
924
921
|
id: 4114,
|
|
@@ -957,8 +954,7 @@ var CHAINS = {
|
|
|
957
954
|
blockExplorer: "https://bscscan.com",
|
|
958
955
|
rpcUrl: "https://bsc-dataseed.bnbchain.org",
|
|
959
956
|
logo: logo_bnb,
|
|
960
|
-
wrappedNativeTokenAddress: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"
|
|
961
|
-
moralisId: "bsc"
|
|
957
|
+
wrappedNativeTokenAddress: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"
|
|
962
958
|
},
|
|
963
959
|
137: {
|
|
964
960
|
id: 137,
|
|
@@ -971,8 +967,7 @@ var CHAINS = {
|
|
|
971
967
|
blockExplorer: "https://polygonscan.com",
|
|
972
968
|
rpcUrl: "https://polygon-bor-rpc.publicnode.com",
|
|
973
969
|
logo: logo_polygon,
|
|
974
|
-
wrappedNativeTokenAddress: "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270"
|
|
975
|
-
moralisId: "polygon"
|
|
970
|
+
wrappedNativeTokenAddress: "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270"
|
|
976
971
|
},
|
|
977
972
|
143: {
|
|
978
973
|
id: 143,
|
|
@@ -985,8 +980,7 @@ var CHAINS = {
|
|
|
985
980
|
blockExplorer: "https://monadexplorer.com",
|
|
986
981
|
rpcUrl: "https://rpc.monad.xyz",
|
|
987
982
|
logo: logo_monad,
|
|
988
|
-
wrappedNativeTokenAddress: "0x3bd359c1119da7da1d913d1c4d2b7c461115433a"
|
|
989
|
-
moralisId: "monad"
|
|
983
|
+
wrappedNativeTokenAddress: "0x3bd359c1119da7da1d913d1c4d2b7c461115433a"
|
|
990
984
|
},
|
|
991
985
|
11155111: {
|
|
992
986
|
id: 11155111,
|
|
@@ -997,8 +991,7 @@ var CHAINS = {
|
|
|
997
991
|
delegateContract: "0xDF7d39BB544778F467D10b08B1F5C170fd7fB480",
|
|
998
992
|
blockExplorer: "https://sepolia.etherscan.io",
|
|
999
993
|
rpcUrl: "https://rpc.sepolia.org",
|
|
1000
|
-
logo: logo_eth
|
|
1001
|
-
moralisId: "sepolia"
|
|
994
|
+
logo: logo_eth
|
|
1002
995
|
},
|
|
1003
996
|
421614: {
|
|
1004
997
|
id: 421614,
|
|
@@ -1021,8 +1014,7 @@ var CHAINS = {
|
|
|
1021
1014
|
escrowContract: "0x3Bb5B432Cd651c9E7bdF36D825CFd4237e4592c6",
|
|
1022
1015
|
blockExplorer: "https://sepolia.basescan.org",
|
|
1023
1016
|
rpcUrl: "https://sepolia.base.org",
|
|
1024
|
-
logo: logo_base
|
|
1025
|
-
moralisId: "0x14a34"
|
|
1017
|
+
logo: logo_base
|
|
1026
1018
|
},
|
|
1027
1019
|
5115: {
|
|
1028
1020
|
id: 5115,
|
package/dist/index.js
CHANGED
|
@@ -803,8 +803,7 @@ var CHAINS = {
|
|
|
803
803
|
escrowContract: "0x93ee466f920e1b4961f85749001f03aAd868eF0E",
|
|
804
804
|
blockExplorer: "https://etherscan.io",
|
|
805
805
|
rpcUrl: "https://eth-mainnet.g.alchemy.com/v2/alch_4ehgbBF6bx-U6loLSFRIy",
|
|
806
|
-
logo: logo_eth
|
|
807
|
-
moralisId: "eth"
|
|
806
|
+
logo: logo_eth
|
|
808
807
|
},
|
|
809
808
|
8453: {
|
|
810
809
|
id: 8453,
|
|
@@ -816,8 +815,7 @@ var CHAINS = {
|
|
|
816
815
|
escrowContract: "0xd3F8f177BB3d7dfD883d7c232f3093EdD61C3De9",
|
|
817
816
|
blockExplorer: "https://basescan.org",
|
|
818
817
|
rpcUrl: "https://base-mainnet.g.alchemy.com/v2/alch_4ehgbBF6bx-U6loLSFRIy",
|
|
819
|
-
logo: logo_base
|
|
820
|
-
moralisId: "base"
|
|
818
|
+
logo: logo_base
|
|
821
819
|
},
|
|
822
820
|
42161: {
|
|
823
821
|
id: 42161,
|
|
@@ -829,8 +827,7 @@ var CHAINS = {
|
|
|
829
827
|
escrowContract: "0x47d6DB10d99b1E0A074B1467407C7A53B68e1147",
|
|
830
828
|
blockExplorer: "https://arbiscan.io",
|
|
831
829
|
rpcUrl: "https://arb-mainnet.g.alchemy.com/v2/alch_4ehgbBF6bx-U6loLSFRIy",
|
|
832
|
-
logo: logo_arb
|
|
833
|
-
moralisId: "arbitrum"
|
|
830
|
+
logo: logo_arb
|
|
834
831
|
},
|
|
835
832
|
4114: {
|
|
836
833
|
id: 4114,
|
|
@@ -869,8 +866,7 @@ var CHAINS = {
|
|
|
869
866
|
blockExplorer: "https://bscscan.com",
|
|
870
867
|
rpcUrl: "https://bsc-dataseed.bnbchain.org",
|
|
871
868
|
logo: logo_bnb,
|
|
872
|
-
wrappedNativeTokenAddress: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"
|
|
873
|
-
moralisId: "bsc"
|
|
869
|
+
wrappedNativeTokenAddress: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"
|
|
874
870
|
},
|
|
875
871
|
137: {
|
|
876
872
|
id: 137,
|
|
@@ -883,8 +879,7 @@ var CHAINS = {
|
|
|
883
879
|
blockExplorer: "https://polygonscan.com",
|
|
884
880
|
rpcUrl: "https://polygon-bor-rpc.publicnode.com",
|
|
885
881
|
logo: logo_polygon,
|
|
886
|
-
wrappedNativeTokenAddress: "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270"
|
|
887
|
-
moralisId: "polygon"
|
|
882
|
+
wrappedNativeTokenAddress: "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270"
|
|
888
883
|
},
|
|
889
884
|
143: {
|
|
890
885
|
id: 143,
|
|
@@ -897,8 +892,7 @@ var CHAINS = {
|
|
|
897
892
|
blockExplorer: "https://monadexplorer.com",
|
|
898
893
|
rpcUrl: "https://rpc.monad.xyz",
|
|
899
894
|
logo: logo_monad,
|
|
900
|
-
wrappedNativeTokenAddress: "0x3bd359c1119da7da1d913d1c4d2b7c461115433a"
|
|
901
|
-
moralisId: "monad"
|
|
895
|
+
wrappedNativeTokenAddress: "0x3bd359c1119da7da1d913d1c4d2b7c461115433a"
|
|
902
896
|
},
|
|
903
897
|
11155111: {
|
|
904
898
|
id: 11155111,
|
|
@@ -909,8 +903,7 @@ var CHAINS = {
|
|
|
909
903
|
delegateContract: "0xDF7d39BB544778F467D10b08B1F5C170fd7fB480",
|
|
910
904
|
blockExplorer: "https://sepolia.etherscan.io",
|
|
911
905
|
rpcUrl: "https://rpc.sepolia.org",
|
|
912
|
-
logo: logo_eth
|
|
913
|
-
moralisId: "sepolia"
|
|
906
|
+
logo: logo_eth
|
|
914
907
|
},
|
|
915
908
|
421614: {
|
|
916
909
|
id: 421614,
|
|
@@ -933,8 +926,7 @@ var CHAINS = {
|
|
|
933
926
|
escrowContract: "0x3Bb5B432Cd651c9E7bdF36D825CFd4237e4592c6",
|
|
934
927
|
blockExplorer: "https://sepolia.basescan.org",
|
|
935
928
|
rpcUrl: "https://sepolia.base.org",
|
|
936
|
-
logo: logo_base
|
|
937
|
-
moralisId: "0x14a34"
|
|
929
|
+
logo: logo_base
|
|
938
930
|
},
|
|
939
931
|
5115: {
|
|
940
932
|
id: 5115,
|