@relayprotocol/relay-sdk 8.0.4 → 8.0.5

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.
@@ -2,7 +2,7 @@ export const routes = [
2
2
  "/app-fees/{wallet}/balances",
3
3
  "/app-fees/{wallet}/claim",
4
4
  "/app-fees/{wallet}/claims",
5
- "/balance-events/{wallet}",
5
+ "/balance/{wallet}/events",
6
6
  "/chains",
7
7
  "/chains/liquidity",
8
8
  "/chains/health",
@@ -11,6 +11,7 @@ export const routes = [
11
11
  "/deposit-addresses/v1",
12
12
  "/deposit-addresses/v2",
13
13
  "/deposit-addresses/{depositAddressId}/disable/v2",
14
+ "/deposit-addresses/{depositAddressId}/update/v2",
14
15
  "/execute/permits",
15
16
  "/quote",
16
17
  "/quote/v2",
@@ -21,7 +22,6 @@ export const routes = [
21
22
  "/intents/status",
22
23
  "/intents/status/v2",
23
24
  "/intents/status/v3",
24
- "/requests",
25
25
  "/requests/v2",
26
26
  "/requests/v3",
27
27
  "/requests/metadata",
@@ -30,7 +30,6 @@ export const routes = [
30
30
  "/transactions/deposit-address/reindex",
31
31
  "/swap-sources",
32
32
  "/loadforge.txt",
33
- "/conduit/install",
34
33
  "/prices/rates",
35
34
  "/currencies/v1",
36
35
  "/currencies/v2",
@@ -39,6 +38,7 @@ export const routes = [
39
38
  "/currencies/trending",
40
39
  "/chains/{chainId}/currencies/{address}",
41
40
  "/chains/{chainId}/currencies/{address}/chart",
41
+ "/currencies/classifications",
42
42
  "/provision/chain",
43
43
  "/sanctioned/{address}",
44
44
  "/wallets/screen",
@@ -47,6 +47,10 @@ export const routes = [
47
47
  "/withdrawals/attest-deposit",
48
48
  "/withdrawals/request",
49
49
  "/withdrawals/status",
50
- "/metrics/usage"
50
+ "/withdrawals/balances",
51
+ "/access-tokens",
52
+ "/metrics/usage",
53
+ "/protocol/executions/{id}",
54
+ "/protocol/transfers"
51
55
  ];
52
56
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/routes/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,6BAA6B;IAC7B,0BAA0B;IAC1B,2BAA2B;IAC3B,0BAA0B;IAC1B,SAAS;IACT,mBAAmB;IACnB,gBAAgB;IAChB,SAAS;IACT,YAAY;IACZ,uBAAuB;IACvB,uBAAuB;IACvB,kDAAkD;IAClD,kBAAkB;IAClB,QAAQ;IACR,WAAW;IACX,QAAQ;IACR,UAAU;IACV,YAAY;IACZ,QAAQ;IACR,iBAAiB;IACjB,oBAAoB;IACpB,oBAAoB;IACpB,WAAW;IACX,cAAc;IACd,cAAc;IACd,oBAAoB;IACpB,qBAAqB;IACrB,sBAAsB;IACtB,uCAAuC;IACvC,eAAe;IACf,gBAAgB;IAChB,kBAAkB;IAClB,eAAe;IACf,gBAAgB;IAChB,gBAAgB;IAChB,yBAAyB;IACzB,4BAA4B;IAC5B,sBAAsB;IACtB,wCAAwC;IACxC,8CAA8C;IAC9C,kBAAkB;IAClB,uBAAuB;IACvB,iBAAiB;IACjB,0BAA0B;IAC1B,sBAAsB;IACtB,6BAA6B;IAC7B,sBAAsB;IACtB,qBAAqB;IACrB,gBAAgB;CACjB,CAAC","sourcesContent":["export const routes = [\n \"/app-fees/{wallet}/balances\",\n \"/app-fees/{wallet}/claim\",\n \"/app-fees/{wallet}/claims\",\n \"/balance-events/{wallet}\",\n \"/chains\",\n \"/chains/liquidity\",\n \"/chains/health\",\n \"/config\",\n \"/config/v2\",\n \"/deposit-addresses/v1\",\n \"/deposit-addresses/v2\",\n \"/deposit-addresses/{depositAddressId}/disable/v2\",\n \"/execute/permits\",\n \"/quote\",\n \"/quote/v2\",\n \"/price\",\n \"/execute\",\n \"/fast-fill\",\n \"/lives\",\n \"/intents/status\",\n \"/intents/status/v2\",\n \"/intents/status/v3\",\n \"/requests\",\n \"/requests/v2\",\n \"/requests/v3\",\n \"/requests/metadata\",\n \"/transactions/index\",\n \"/transactions/single\",\n \"/transactions/deposit-address/reindex\",\n \"/swap-sources\",\n \"/loadforge.txt\",\n \"/conduit/install\",\n \"/prices/rates\",\n \"/currencies/v1\",\n \"/currencies/v2\",\n \"/currencies/token/price\",\n \"/currencies/token/price/v2\",\n \"/currencies/trending\",\n \"/chains/{chainId}/currencies/{address}\",\n \"/chains/{chainId}/currencies/{address}/chart\",\n \"/provision/chain\",\n \"/sanctioned/{address}\",\n \"/wallets/screen\",\n \"/wallets/screen/override\",\n \"/wallets/screen/info\",\n \"/withdrawals/attest-deposit\",\n \"/withdrawals/request\",\n \"/withdrawals/status\",\n \"/metrics/usage\"\n];"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/routes/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,6BAA6B;IAC7B,0BAA0B;IAC1B,2BAA2B;IAC3B,0BAA0B;IAC1B,SAAS;IACT,mBAAmB;IACnB,gBAAgB;IAChB,SAAS;IACT,YAAY;IACZ,uBAAuB;IACvB,uBAAuB;IACvB,kDAAkD;IAClD,iDAAiD;IACjD,kBAAkB;IAClB,QAAQ;IACR,WAAW;IACX,QAAQ;IACR,UAAU;IACV,YAAY;IACZ,QAAQ;IACR,iBAAiB;IACjB,oBAAoB;IACpB,oBAAoB;IACpB,cAAc;IACd,cAAc;IACd,oBAAoB;IACpB,qBAAqB;IACrB,sBAAsB;IACtB,uCAAuC;IACvC,eAAe;IACf,gBAAgB;IAChB,eAAe;IACf,gBAAgB;IAChB,gBAAgB;IAChB,yBAAyB;IACzB,4BAA4B;IAC5B,sBAAsB;IACtB,wCAAwC;IACxC,8CAA8C;IAC9C,6BAA6B;IAC7B,kBAAkB;IAClB,uBAAuB;IACvB,iBAAiB;IACjB,0BAA0B;IAC1B,sBAAsB;IACtB,6BAA6B;IAC7B,sBAAsB;IACtB,qBAAqB;IACrB,uBAAuB;IACvB,gBAAgB;IAChB,gBAAgB;IAChB,2BAA2B;IAC3B,qBAAqB;CACtB,CAAC","sourcesContent":["export const routes = [\n \"/app-fees/{wallet}/balances\",\n \"/app-fees/{wallet}/claim\",\n \"/app-fees/{wallet}/claims\",\n \"/balance/{wallet}/events\",\n \"/chains\",\n \"/chains/liquidity\",\n \"/chains/health\",\n \"/config\",\n \"/config/v2\",\n \"/deposit-addresses/v1\",\n \"/deposit-addresses/v2\",\n \"/deposit-addresses/{depositAddressId}/disable/v2\",\n \"/deposit-addresses/{depositAddressId}/update/v2\",\n \"/execute/permits\",\n \"/quote\",\n \"/quote/v2\",\n \"/price\",\n \"/execute\",\n \"/fast-fill\",\n \"/lives\",\n \"/intents/status\",\n \"/intents/status/v2\",\n \"/intents/status/v3\",\n \"/requests/v2\",\n \"/requests/v3\",\n \"/requests/metadata\",\n \"/transactions/index\",\n \"/transactions/single\",\n \"/transactions/deposit-address/reindex\",\n \"/swap-sources\",\n \"/loadforge.txt\",\n \"/prices/rates\",\n \"/currencies/v1\",\n \"/currencies/v2\",\n \"/currencies/token/price\",\n \"/currencies/token/price/v2\",\n \"/currencies/trending\",\n \"/chains/{chainId}/currencies/{address}\",\n \"/chains/{chainId}/currencies/{address}/chart\",\n \"/currencies/classifications\",\n \"/provision/chain\",\n \"/sanctioned/{address}\",\n \"/wallets/screen\",\n \"/wallets/screen/override\",\n \"/wallets/screen/info\",\n \"/withdrawals/attest-deposit\",\n \"/withdrawals/request\",\n \"/withdrawals/status\",\n \"/withdrawals/balances\",\n \"/access-tokens\",\n \"/metrics/usage\",\n \"/protocol/executions/{id}\",\n \"/protocol/transfers\"\n];"]}
@@ -1 +1 @@
1
- {"version":3,"file":"RelayChain.js","sourceRoot":"","sources":["../../../src/types/RelayChain.ts"],"names":[],"mappings":"","sourcesContent":["import type { Chain } from 'viem'\nimport type { paths } from '../types/index.js'\n\ntype RelayAPIChain = NonNullable<\n paths['/chains']['get']['responses']['200']['content']['application/json']['chains']\n>['0']\n\nexport type ChainVM =\n | 'evm'\n | 'svm'\n | 'bvm'\n | 'tvm'\n | 'hypevm'\n | 'lvm'\n | 'tonvm'\n | 'xrpvm'\n | 'hederavm'\n\nexport type RelayChain = {\n id: number\n name: string\n displayName: string\n httpRpcUrl?: string\n wsRpcUrl?: string\n explorerUrl?: string\n explorerQueryParams?: {\n [key: string]: unknown\n } | null\n explorerPaths?: {\n transaction?: string\n } | null\n icon?: {\n dark?: string\n light?: string\n squaredDark?: string\n squaredLight?: string\n }\n currency?: {\n id?: string\n symbol?: string\n name?: string\n address?: string\n decimals?: number\n supportsBridging?: boolean\n }\n depositEnabled?: boolean\n blockProductionLagging?: boolean\n erc20Currencies?: RelayAPIChain['erc20Currencies']\n solverCurrencies?: RelayAPIChain['solverCurrencies']\n featuredTokens?: RelayAPIChain['featuredTokens']\n tags?: RelayAPIChain['tags']\n iconUrl?: string | null\n logoUrl?: string | null\n brandColor?: string | null\n vmType?: ChainVM\n viemChain?: Chain\n baseChainId?: number | null\n tokenSupport?: 'All' | 'Limited'\n protocol?: RelayAPIChain['protocol']\n}\n"]}
1
+ {"version":3,"file":"RelayChain.js","sourceRoot":"","sources":["../../../src/types/RelayChain.ts"],"names":[],"mappings":"","sourcesContent":["import type { Chain } from 'viem'\nimport type { paths } from '../types/index.js'\n\ntype RelayAPIChain = NonNullable<\n paths['/chains']['get']['responses']['200']['content']['application/json']['chains']\n>['0']\n\nexport type ChainVM =\n | 'evm'\n | 'svm'\n | 'bvm'\n | 'tvm'\n | 'hypevm'\n | 'lvm'\n | 'tonvm'\n | 'xrpvm'\n | 'hederavm'\n | 'atlasvm'\n\nexport type RelayChain = {\n id: number\n name: string\n displayName: string\n httpRpcUrl?: string\n wsRpcUrl?: string\n explorerUrl?: string\n explorerQueryParams?: {\n [key: string]: unknown\n } | null\n explorerPaths?: {\n transaction?: string\n } | null\n icon?: {\n dark?: string\n light?: string\n squaredDark?: string\n squaredLight?: string\n }\n currency?: {\n id?: string\n symbol?: string\n name?: string\n address?: string\n decimals?: number\n supportsBridging?: boolean\n }\n depositEnabled?: boolean\n blockProductionLagging?: boolean\n erc20Currencies?: RelayAPIChain['erc20Currencies']\n solverCurrencies?: RelayAPIChain['solverCurrencies']\n featuredTokens?: RelayAPIChain['featuredTokens']\n tags?: RelayAPIChain['tags']\n iconUrl?: string | null\n logoUrl?: string | null\n brandColor?: string | null\n vmType?: ChainVM\n viemChain?: Chain\n baseChainId?: number | null\n tokenSupport?: 'All' | 'Limited'\n protocol?: RelayAPIChain['protocol']\n}\n"]}