@reyaxyz/common 0.98.0 → 0.98.1

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.
@@ -6,19 +6,19 @@ var types_1 = require("../types");
6
6
  var socketFees = (_a = {},
7
7
  // mainnet
8
8
  _a[types_1.MoneyInOutChainId.ethereumMainnet] = {
9
- bridgeTimeInMS: 3 * 60 * 1000,
9
+ bridgeTimeInMS: 15 * 60 * 1000,
10
10
  },
11
11
  _a[types_1.MoneyInOutChainId.opMainnet] = {
12
- bridgeTimeInMS: 3 * 60 * 1000,
12
+ bridgeTimeInMS: 15 * 60 * 1000,
13
13
  },
14
14
  _a[types_1.MoneyInOutChainId.polygonMainnet] = {
15
- bridgeTimeInMS: 3 * 60 * 1000,
15
+ bridgeTimeInMS: 15 * 60 * 1000,
16
16
  },
17
17
  _a[types_1.MoneyInOutChainId.arbitrumOne] = {
18
- bridgeTimeInMS: 3 * 60 * 1000,
18
+ bridgeTimeInMS: 15 * 60 * 1000,
19
19
  },
20
20
  _a[types_1.MoneyInOutChainId.baseMainnet] = {
21
- bridgeTimeInMS: 3 * 60 * 1000,
21
+ bridgeTimeInMS: 15 * 60 * 1000,
22
22
  },
23
23
  // testnet
24
24
  _a[types_1.MoneyInOutChainId.polygonMumbai] = {
@@ -1 +1 @@
1
- {"version":3,"file":"getSocketBridgeTime.js","sourceRoot":"/","sources":["services/getSocketBridgeTime.ts"],"names":[],"mappings":";;;;AAAA,kCAIkB;AAElB,IAAM,UAAU;IACd,UAAU;IACV,GAAC,yBAAiB,CAAC,eAAe,IAAG;QACnC,cAAc,EAAE,CAAC,GAAG,EAAE,GAAG,IAAI;KAC9B;IACD,GAAC,yBAAiB,CAAC,SAAS,IAAG;QAC7B,cAAc,EAAE,CAAC,GAAG,EAAE,GAAG,IAAI;KAC9B;IACD,GAAC,yBAAiB,CAAC,cAAc,IAAG;QAClC,cAAc,EAAE,CAAC,GAAG,EAAE,GAAG,IAAI;KAC9B;IACD,GAAC,yBAAiB,CAAC,WAAW,IAAG;QAC/B,cAAc,EAAE,CAAC,GAAG,EAAE,GAAG,IAAI;KAC9B;IACD,GAAC,yBAAiB,CAAC,WAAW,IAAG;QAC/B,cAAc,EAAE,CAAC,GAAG,EAAE,GAAG,IAAI;KAC9B;IACD,UAAU;IACV,GAAC,yBAAiB,CAAC,aAAa,IAAG;QACjC,cAAc,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI;KAC/B;IACD,GAAC,yBAAiB,CAAC,eAAe,IAAG;QACnC,cAAc,EAAE,CAAC,GAAG,EAAE,GAAG,IAAI;KAC9B;IACD,GAAC,yBAAiB,CAAC,SAAS,IAAG;QAC7B,cAAc,EAAE,CAAC,GAAG,EAAE,GAAG,IAAI;KAC9B;IACD,GAAC,yBAAiB,CAAC,eAAe,IAAG;QACnC,cAAc,EAAE,CAAC,GAAG,EAAE,GAAG,IAAI;KAC9B;OACF,CAAC;AAEK,IAAM,mBAAmB,GAAG,UACjC,MAAiC;IAEjC,OAAO,UAAU,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAC9C,CAAC,CAAC;AAJW,QAAA,mBAAmB,uBAI9B","sourcesContent":["import {\n GetSocketBridgeTimeResult,\n GetSocketBridgeTimeParams,\n MoneyInOutChainId,\n} from '../types';\n\nconst socketFees: Record<MoneyInOutChainId, GetSocketBridgeTimeResult> = {\n // mainnet\n [MoneyInOutChainId.ethereumMainnet]: {\n bridgeTimeInMS: 3 * 60 * 1000,\n },\n [MoneyInOutChainId.opMainnet]: {\n bridgeTimeInMS: 3 * 60 * 1000,\n },\n [MoneyInOutChainId.polygonMainnet]: {\n bridgeTimeInMS: 3 * 60 * 1000,\n },\n [MoneyInOutChainId.arbitrumOne]: {\n bridgeTimeInMS: 3 * 60 * 1000,\n },\n [MoneyInOutChainId.baseMainnet]: {\n bridgeTimeInMS: 3 * 60 * 1000,\n },\n // testnet\n [MoneyInOutChainId.polygonMumbai]: {\n bridgeTimeInMS: 55 * 60 * 1000,\n },\n [MoneyInOutChainId.arbitrumSepolia]: {\n bridgeTimeInMS: 5 * 60 * 1000,\n },\n [MoneyInOutChainId.opSepolia]: {\n bridgeTimeInMS: 5 * 60 * 1000,\n },\n [MoneyInOutChainId.ethereumSepolia]: {\n bridgeTimeInMS: 5 * 60 * 1000,\n },\n};\n\nexport const getSocketBridgeTime = (\n params: GetSocketBridgeTimeParams,\n): GetSocketBridgeTimeResult => {\n return socketFees[params.moneyInOutChainId];\n};\n"]}
1
+ {"version":3,"file":"getSocketBridgeTime.js","sourceRoot":"/","sources":["services/getSocketBridgeTime.ts"],"names":[],"mappings":";;;;AAAA,kCAIkB;AAElB,IAAM,UAAU;IACd,UAAU;IACV,GAAC,yBAAiB,CAAC,eAAe,IAAG;QACnC,cAAc,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI;KAC/B;IACD,GAAC,yBAAiB,CAAC,SAAS,IAAG;QAC7B,cAAc,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI;KAC/B;IACD,GAAC,yBAAiB,CAAC,cAAc,IAAG;QAClC,cAAc,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI;KAC/B;IACD,GAAC,yBAAiB,CAAC,WAAW,IAAG;QAC/B,cAAc,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI;KAC/B;IACD,GAAC,yBAAiB,CAAC,WAAW,IAAG;QAC/B,cAAc,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI;KAC/B;IACD,UAAU;IACV,GAAC,yBAAiB,CAAC,aAAa,IAAG;QACjC,cAAc,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI;KAC/B;IACD,GAAC,yBAAiB,CAAC,eAAe,IAAG;QACnC,cAAc,EAAE,CAAC,GAAG,EAAE,GAAG,IAAI;KAC9B;IACD,GAAC,yBAAiB,CAAC,SAAS,IAAG;QAC7B,cAAc,EAAE,CAAC,GAAG,EAAE,GAAG,IAAI;KAC9B;IACD,GAAC,yBAAiB,CAAC,eAAe,IAAG;QACnC,cAAc,EAAE,CAAC,GAAG,EAAE,GAAG,IAAI;KAC9B;OACF,CAAC;AAEK,IAAM,mBAAmB,GAAG,UACjC,MAAiC;IAEjC,OAAO,UAAU,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAC9C,CAAC,CAAC;AAJW,QAAA,mBAAmB,uBAI9B","sourcesContent":["import {\n GetSocketBridgeTimeResult,\n GetSocketBridgeTimeParams,\n MoneyInOutChainId,\n} from '../types';\n\nconst socketFees: Record<MoneyInOutChainId, GetSocketBridgeTimeResult> = {\n // mainnet\n [MoneyInOutChainId.ethereumMainnet]: {\n bridgeTimeInMS: 15 * 60 * 1000,\n },\n [MoneyInOutChainId.opMainnet]: {\n bridgeTimeInMS: 15 * 60 * 1000,\n },\n [MoneyInOutChainId.polygonMainnet]: {\n bridgeTimeInMS: 15 * 60 * 1000,\n },\n [MoneyInOutChainId.arbitrumOne]: {\n bridgeTimeInMS: 15 * 60 * 1000,\n },\n [MoneyInOutChainId.baseMainnet]: {\n bridgeTimeInMS: 15 * 60 * 1000,\n },\n // testnet\n [MoneyInOutChainId.polygonMumbai]: {\n bridgeTimeInMS: 55 * 60 * 1000,\n },\n [MoneyInOutChainId.arbitrumSepolia]: {\n bridgeTimeInMS: 5 * 60 * 1000,\n },\n [MoneyInOutChainId.opSepolia]: {\n bridgeTimeInMS: 5 * 60 * 1000,\n },\n [MoneyInOutChainId.ethereumSepolia]: {\n bridgeTimeInMS: 5 * 60 * 1000,\n },\n};\n\nexport const getSocketBridgeTime = (\n params: GetSocketBridgeTimeParams,\n): GetSocketBridgeTimeResult => {\n return socketFees[params.moneyInOutChainId];\n};\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reyaxyz/common",
3
- "version": "0.98.0",
3
+ "version": "0.98.1",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -42,5 +42,5 @@
42
42
  "generate:coverage-badges": "npx istanbul-badges-readme --silent"
43
43
  },
44
44
  "packageManager": "pnpm@8.3.1",
45
- "gitHead": "933d366f78112b99e312d4fbd9c27abda1c5912a"
45
+ "gitHead": "97c1070b09e50ca0fdf2fbd451aebab41787dfbd"
46
46
  }
@@ -7,19 +7,19 @@ import {
7
7
  const socketFees: Record<MoneyInOutChainId, GetSocketBridgeTimeResult> = {
8
8
  // mainnet
9
9
  [MoneyInOutChainId.ethereumMainnet]: {
10
- bridgeTimeInMS: 3 * 60 * 1000,
10
+ bridgeTimeInMS: 15 * 60 * 1000,
11
11
  },
12
12
  [MoneyInOutChainId.opMainnet]: {
13
- bridgeTimeInMS: 3 * 60 * 1000,
13
+ bridgeTimeInMS: 15 * 60 * 1000,
14
14
  },
15
15
  [MoneyInOutChainId.polygonMainnet]: {
16
- bridgeTimeInMS: 3 * 60 * 1000,
16
+ bridgeTimeInMS: 15 * 60 * 1000,
17
17
  },
18
18
  [MoneyInOutChainId.arbitrumOne]: {
19
- bridgeTimeInMS: 3 * 60 * 1000,
19
+ bridgeTimeInMS: 15 * 60 * 1000,
20
20
  },
21
21
  [MoneyInOutChainId.baseMainnet]: {
22
- bridgeTimeInMS: 3 * 60 * 1000,
22
+ bridgeTimeInMS: 15 * 60 * 1000,
23
23
  },
24
24
  // testnet
25
25
  [MoneyInOutChainId.polygonMumbai]: {