@shapeshiftoss/types 9.1.0 → 9.2.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.
@@ -59,7 +59,8 @@ export declare enum KnownChainIds {
59
59
  StarknetMainnet = "starknet:SN_MAIN",
60
60
  TonMainnet = "ton:mainnet",
61
61
  AbstractMainnet = "eip155:2741",
62
- RobinhoodMainnet = "eip155:4663"
62
+ RobinhoodMainnet = "eip155:4663",
63
+ AptosMainnet = "aptos:1"
63
64
  }
64
65
  export type EvmChainId = KnownChainIds.EthereumMainnet | KnownChainIds.AvalancheMainnet | KnownChainIds.OptimismMainnet | KnownChainIds.BnbSmartChainMainnet | KnownChainIds.PolygonMainnet | KnownChainIds.GnosisMainnet | KnownChainIds.ArbitrumMainnet | KnownChainIds.BaseMainnet | KnownChainIds.MonadMainnet | KnownChainIds.HyperEvmMainnet | KnownChainIds.PlasmaMainnet | KnownChainIds.MantleMainnet | KnownChainIds.InkMainnet | KnownChainIds.MegaEthMainnet | KnownChainIds.BerachainMainnet | KnownChainIds.CronosMainnet | KnownChainIds.KatanaMainnet | KnownChainIds.EtherealMainnet | KnownChainIds.FlowEvmMainnet | KnownChainIds.CeloMainnet | KnownChainIds.PlumeMainnet | KnownChainIds.StoryMainnet | KnownChainIds.ZkSyncEraMainnet | KnownChainIds.BlastMainnet | KnownChainIds.WorldChainMainnet | KnownChainIds.HemiMainnet | KnownChainIds.SeiMainnet | KnownChainIds.LineaMainnet | KnownChainIds.ScrollMainnet | KnownChainIds.SonicMainnet | KnownChainIds.UnichainMainnet | KnownChainIds.BobMainnet | KnownChainIds.ModeMainnet | KnownChainIds.SoneiumMainnet | KnownChainIds.AbstractMainnet | KnownChainIds.RobinhoodMainnet;
65
66
  export type CosmosSdkChainId = KnownChainIds.CosmosMainnet | KnownChainIds.ThorchainMainnet | KnownChainIds.MayachainMainnet;
@@ -71,6 +72,7 @@ export type NearChainId = KnownChainIds.NearMainnet;
71
72
  export type SolanaChainId = KnownChainIds.SolanaMainnet;
72
73
  export type StarknetChainId = KnownChainIds.StarknetMainnet;
73
74
  export type TonChainId = KnownChainIds.TonMainnet;
75
+ export type AptosChainId = KnownChainIds.AptosMainnet;
74
76
  export declare enum WithdrawType {
75
77
  DELAYED = 0,
76
78
  INSTANT = 1
package/dist/esm/base.js CHANGED
@@ -50,6 +50,7 @@ export var KnownChainIds;
50
50
  KnownChainIds["TonMainnet"] = "ton:mainnet";
51
51
  KnownChainIds["AbstractMainnet"] = "eip155:2741";
52
52
  KnownChainIds["RobinhoodMainnet"] = "eip155:4663";
53
+ KnownChainIds["AptosMainnet"] = "aptos:1";
53
54
  })(KnownChainIds || (KnownChainIds = {}));
54
55
  export var WithdrawType;
55
56
  (function (WithdrawType) {
@@ -1,5 +1,5 @@
1
1
  import type { ChainId } from '@shapeshiftoss/caip';
2
- export declare const ZERION_CHAINS: readonly ["avalanche", "binance-smart-chain", "ethereum", "optimism", "polygon", "arbitrum", "xdai", "base", "solana", "tron", "monad", "sui", "plasma", "plume", "world-chain", "katana", "celo", "flow-evm", "story", "zksync-era", "blast", "hemi", "mantle", "linea", "berachain", "sei", "ink", "cronos", "sonic", "unichain", "bob", "mode", "soneium"];
2
+ export declare const ZERION_CHAINS: readonly ["avalanche", "binance-smart-chain", "ethereum", "optimism", "polygon", "arbitrum", "xdai", "base", "solana", "tron", "monad", "plasma", "plume", "world-chain", "katana", "celo", "flow-evm", "story", "zksync-era", "blast", "hemi", "mantle", "linea", "berachain", "sei", "ink", "cronos", "sonic", "unichain", "bob", "mode", "soneium"];
3
3
  export type ZerionChainId = (typeof ZERION_CHAINS)[number];
4
4
  export declare const ZERION_CHAINS_MAP: Record<ZerionChainId, ChainId>;
5
5
  export declare const zerionChainIdToChainId: (chainId: ZerionChainId) => ChainId | undefined;
@@ -1,4 +1,4 @@
1
- import { arbitrumChainId, avalancheChainId, baseChainId, berachainChainId, blastChainId, bobChainId, bscChainId, celoChainId, cronosChainId, ethChainId, flowEvmChainId, gnosisChainId, hemiChainId, inkChainId, katanaChainId, lineaChainId, mantleChainId, modeChainId, monadChainId, optimismChainId, plasmaChainId, plumeChainId, polygonChainId, seiChainId, solanaChainId, soneiumChainId, sonicChainId, storyChainId, suiChainId, tronChainId, unichainChainId, worldChainChainId, zkSyncEraChainId, } from '@shapeshiftoss/caip';
1
+ import { arbitrumChainId, avalancheChainId, baseChainId, berachainChainId, blastChainId, bobChainId, bscChainId, celoChainId, cronosChainId, ethChainId, flowEvmChainId, gnosisChainId, hemiChainId, inkChainId, katanaChainId, lineaChainId, mantleChainId, modeChainId, monadChainId, optimismChainId, plasmaChainId, plumeChainId, polygonChainId, seiChainId, solanaChainId, soneiumChainId, sonicChainId, storyChainId, tronChainId, unichainChainId, worldChainChainId, zkSyncEraChainId, } from '@shapeshiftoss/caip';
2
2
  export const ZERION_CHAINS = [
3
3
  // shapeshift supported
4
4
  'avalanche',
@@ -12,7 +12,6 @@ export const ZERION_CHAINS = [
12
12
  'solana',
13
13
  'tron',
14
14
  'monad',
15
- 'sui',
16
15
  'plasma',
17
16
  'plume',
18
17
  'world-chain',
@@ -50,7 +49,6 @@ export const ZERION_CHAINS_MAP = {
50
49
  solana: solanaChainId,
51
50
  tron: tronChainId,
52
51
  monad: monadChainId,
53
- sui: suiChainId,
54
52
  plasma: plasmaChainId,
55
53
  plume: plumeChainId,
56
54
  'world-chain': worldChainChainId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shapeshiftoss/types",
3
- "version": "9.1.0",
3
+ "version": "9.2.0",
4
4
  "description": "Common types shared across packages",
5
5
  "repository": "https://github.com/shapeshift/web",
6
6
  "license": "MIT",
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "viem": "2.55.11",
26
- "@shapeshiftoss/caip": "^8.17.1"
26
+ "@shapeshiftoss/caip": "^8.18.0"
27
27
  },
28
28
  "scripts": {
29
29
  "build": "rm -rf dist && pnpm exec tsc --build && pnpm run postbuild",