rise-wallet 0.1.2 → 0.1.3

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/dist/index.d.ts CHANGED
@@ -7,18 +7,12 @@ declare function define<const chain extends Chain>(chain: chain): chain;
7
7
  declare const riseTestnet: {
8
8
  readonly contracts: {
9
9
  readonly portoAccount: {
10
- readonly address: "0x912a428b1a7e7cb7bb2709a2799a01c020c5acd9";
10
+ readonly address: "0xc58C2A1Ce5cE4D7Fc7f997B983d9a859dbD2e507";
11
11
  };
12
12
  readonly multicall3: {
13
13
  readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
14
14
  };
15
15
  };
16
- readonly rpcUrls: {
17
- readonly default: {
18
- readonly http: readonly ["https://rise-testnet-porto.fly.dev", "https://testnet.riselabs.xyz"];
19
- readonly webSocket: readonly ["wss://testnet.riselabs.xyz/ws"];
20
- };
21
- };
22
16
  readonly blockExplorers: {
23
17
  readonly default: {
24
18
  readonly name: "Blockscout";
@@ -36,6 +30,12 @@ declare const riseTestnet: {
36
30
  readonly decimals: 18;
37
31
  };
38
32
  readonly experimental_preconfirmationTime?: number | undefined | undefined;
33
+ readonly rpcUrls: {
34
+ readonly default: {
35
+ readonly http: readonly ["https://testnet.riselabs.xyz"];
36
+ readonly webSocket: readonly ["wss://testnet.riselabs.xyz/ws"];
37
+ };
38
+ };
39
39
  readonly sourceId?: number | undefined | undefined;
40
40
  readonly testnet: true;
41
41
  readonly custom?: Record<string, unknown> | undefined;
package/dist/index.js CHANGED
@@ -11,12 +11,8 @@ const riseTestnet = /* @__PURE__ */ define({
11
11
  ...riseTestnet$1,
12
12
  contracts: {
13
13
  ...riseTestnet$1.contracts,
14
- portoAccount: { address: "0x912a428b1a7e7cb7bb2709a2799a01c020c5acd9" }
15
- },
16
- rpcUrls: { default: {
17
- ...riseTestnet$1.rpcUrls.default,
18
- http: ["https://rise-testnet-porto.fly.dev", ...riseTestnet$1.rpcUrls.default.http]
19
- } }
14
+ portoAccount: { address: "0xc58C2A1Ce5cE4D7Fc7f997B983d9a859dbD2e507" }
15
+ }
20
16
  });
21
17
 
22
18
  //#endregion
@@ -25,6 +21,8 @@ const riseTestnetConfig = {
25
21
  ...defaultConfig,
26
22
  chains: [riseTestnet],
27
23
  mode: Mode.dialog({ host: "https://rise-wallet-testnet.vercel.app/dialog" }),
24
+ relay: http("https://rise-testnet-porto.fly.dev"),
25
+ feeToken: "ETH",
28
26
  transports: { [riseTestnet.id]: http() }
29
27
  };
30
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rise-wallet",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Typescript SDK to integrate RISE wallet into your dApp.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -30,7 +30,7 @@
30
30
  "build": "tsdown",
31
31
  "dev": "tsdown --watch",
32
32
  "typecheck": "tsc --noEmit",
33
- "release": "bumpp && npm publish"
33
+ "prepublishOnly": "bun run typecheck && bun run build && bumpp"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "^24.3.0",