@suilend/sui-fe 0.3.42 → 0.3.43
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/lib/constants.d.ts +1 -0
- package/lib/constants.js +2 -0
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export type Explorer = {
|
|
|
26
26
|
name: string;
|
|
27
27
|
buildAddressUrl: (address: string) => string;
|
|
28
28
|
buildObjectUrl: (id: string) => string;
|
|
29
|
+
buildPackageUrl: (id: string) => string;
|
|
29
30
|
buildCoinUrl: (coinType: string) => string;
|
|
30
31
|
buildTxUrl: (digest: string) => string;
|
|
31
32
|
};
|
package/lib/constants.js
CHANGED
|
@@ -52,6 +52,7 @@ exports.EXPLORERS = [
|
|
|
52
52
|
name: "Suiscan",
|
|
53
53
|
buildAddressUrl: (address) => `https://suiscan.xyz/mainnet/account/${address}`,
|
|
54
54
|
buildObjectUrl: (id) => `https://suiscan.xyz/mainnet/object/${id}`,
|
|
55
|
+
buildPackageUrl: (id) => `https://suiscan.xyz/mainnet/object/${id}`,
|
|
55
56
|
buildCoinUrl: (coinType) => `https://suiscan.xyz/mainnet/coin/${coinType}`,
|
|
56
57
|
buildTxUrl: (digest) => `https://suiscan.xyz/mainnet/tx/${digest}`,
|
|
57
58
|
},
|
|
@@ -60,6 +61,7 @@ exports.EXPLORERS = [
|
|
|
60
61
|
name: "SuiVision",
|
|
61
62
|
buildAddressUrl: (address) => `https://suivision.xyz/account/${address}`,
|
|
62
63
|
buildObjectUrl: (id) => `https://suivision.xyz/object/${id}`,
|
|
64
|
+
buildPackageUrl: (id) => `https://suivision.xyz/package/${id}`,
|
|
63
65
|
buildCoinUrl: (coinType) => `https://suivision.xyz/coin/${coinType}`,
|
|
64
66
|
buildTxUrl: (digest) => `https://suivision.xyz/txblock/${digest}`,
|
|
65
67
|
},
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@suilend/sui-fe","version":"0.3.
|
|
1
|
+
{"name":"@suilend/sui-fe","version":"0.3.43","private":false,"description":"A collection of TypeScript frontend libraries","author":"Suilend","license":"MIT","main":"./index.js","exports":{".":"./index.js","./lib/api":"./lib/api.js","./lib/coin":"./lib/coin.js","./lib/coinMetadata":"./lib/coinMetadata.js","./lib/coinType":"./lib/coinType.js","./lib/constants":"./lib/constants.js","./lib/format":"./lib/format.js","./lib":"./lib/index.js","./lib/indexedDB":"./lib/indexedDB.js","./lib/keypair":"./lib/keypair.js","./lib/ledger":"./lib/ledger.js","./lib/msafe":"./lib/msafe.js","./lib/track":"./lib/track.js","./lib/transactions":"./lib/transactions.js"},"types":"./index.js","scripts":{"build":"rm -rf ./dist && bun tsc","eslint":"eslint --fix \"./src/**/*.ts\"","prettier":"prettier --write \"./src/**/*\"","lint":"bun eslint && bun prettier && bun tsc --noEmit","release":"bun run build && bun ts-node ./release.ts && cd ./dist && npm publish --access public"},"repository":{"type":"git","url":"git+https://github.com/suilend/sui-fe.git"},"bugs":{"url":"https://github.com/suilend/sui-fe/issues"},"dependencies":{"@mysten/wallet-standard":"0.19.2","bignumber.js":"^9.1.2","blake2b":"^2.1.4","lodash":"^4.17.21","mixpanel-browser":"^2.71.0","next":"^15.0.3","p-limit":"3.1.0"},"devDependencies":{"@tsconfig/recommended":"^1.0.8","@types/blake2b":"^2.1.3","@types/lodash":"^4.17.13","@types/node":"^22.9.0","@typescript-eslint/eslint-plugin":"^8.14.0","@typescript-eslint/parser":"^8.14.0","eslint":"^9.14.0","eslint-config-next":"^15.0.3","eslint-config-prettier":"^9.1.0","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.1","prettier":"^3.3.3","ts-node":"^10.9.2","typescript":"^5.6.3"},"peerDependencies":{"@mysten/sui":"1.42.0","date-fns":"^4.1.0"}}
|