@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.
@@ -5,7 +5,7 @@ exports.routes = [
5
5
  "/app-fees/{wallet}/balances",
6
6
  "/app-fees/{wallet}/claim",
7
7
  "/app-fees/{wallet}/claims",
8
- "/balance-events/{wallet}",
8
+ "/balance/{wallet}/events",
9
9
  "/chains",
10
10
  "/chains/liquidity",
11
11
  "/chains/health",
@@ -14,6 +14,7 @@ exports.routes = [
14
14
  "/deposit-addresses/v1",
15
15
  "/deposit-addresses/v2",
16
16
  "/deposit-addresses/{depositAddressId}/disable/v2",
17
+ "/deposit-addresses/{depositAddressId}/update/v2",
17
18
  "/execute/permits",
18
19
  "/quote",
19
20
  "/quote/v2",
@@ -24,7 +25,6 @@ exports.routes = [
24
25
  "/intents/status",
25
26
  "/intents/status/v2",
26
27
  "/intents/status/v3",
27
- "/requests",
28
28
  "/requests/v2",
29
29
  "/requests/v3",
30
30
  "/requests/metadata",
@@ -33,7 +33,6 @@ exports.routes = [
33
33
  "/transactions/deposit-address/reindex",
34
34
  "/swap-sources",
35
35
  "/loadforge.txt",
36
- "/conduit/install",
37
36
  "/prices/rates",
38
37
  "/currencies/v1",
39
38
  "/currencies/v2",
@@ -42,6 +41,7 @@ exports.routes = [
42
41
  "/currencies/trending",
43
42
  "/chains/{chainId}/currencies/{address}",
44
43
  "/chains/{chainId}/currencies/{address}/chart",
44
+ "/currencies/classifications",
45
45
  "/provision/chain",
46
46
  "/sanctioned/{address}",
47
47
  "/wallets/screen",
@@ -50,6 +50,10 @@ exports.routes = [
50
50
  "/withdrawals/attest-deposit",
51
51
  "/withdrawals/request",
52
52
  "/withdrawals/status",
53
- "/metrics/usage"
53
+ "/withdrawals/balances",
54
+ "/access-tokens",
55
+ "/metrics/usage",
56
+ "/protocol/executions/{id}",
57
+ "/protocol/transfers"
54
58
  ];
55
59
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/routes/index.ts"],"names":[],"mappings":";;;AAAa,QAAA,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,QAAA,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"]}