@phantom/server-sdk 1.0.0-beta.21 → 1.0.0-beta.22
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/README.md +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +2 -5
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -126,7 +126,7 @@ console.log("Ethereum address:", ethereumAddress);
|
|
|
126
126
|
The Server SDK provides two methods for handling transactions:
|
|
127
127
|
|
|
128
128
|
1. **`signTransaction(params)`** - Signs a transaction without submitting it to the network
|
|
129
|
-
- Returns the signed transaction
|
|
129
|
+
- Returns the signed transaction
|
|
130
130
|
- No network interaction
|
|
131
131
|
- Useful for offline signing or when you want to broadcast later
|
|
132
132
|
|
package/dist/index.js
CHANGED
|
@@ -58,7 +58,7 @@ var import_bs58 = __toESM(require("bs58"));
|
|
|
58
58
|
// package.json
|
|
59
59
|
var package_default = {
|
|
60
60
|
name: "@phantom/server-sdk",
|
|
61
|
-
version: "1.0.0-beta.
|
|
61
|
+
version: "1.0.0-beta.22",
|
|
62
62
|
description: "Server SDK for Phantom Wallet",
|
|
63
63
|
main: "dist/index.js",
|
|
64
64
|
module: "dist/index.mjs",
|
package/dist/index.mjs
CHANGED
|
@@ -3,10 +3,7 @@ import {
|
|
|
3
3
|
PhantomClient
|
|
4
4
|
} from "@phantom/client";
|
|
5
5
|
import { randomUUID, getSecureTimestampSync, isEthereumChain } from "@phantom/utils";
|
|
6
|
-
import {
|
|
7
|
-
ANALYTICS_HEADERS,
|
|
8
|
-
DEFAULT_WALLET_API_URL
|
|
9
|
-
} from "@phantom/constants";
|
|
6
|
+
import { ANALYTICS_HEADERS, DEFAULT_WALLET_API_URL } from "@phantom/constants";
|
|
10
7
|
import { ApiKeyStamper } from "@phantom/api-key-stamper";
|
|
11
8
|
import { base64urlEncode, stringToBase64url } from "@phantom/base64url";
|
|
12
9
|
import bs58 from "bs58";
|
|
@@ -14,7 +11,7 @@ import bs58 from "bs58";
|
|
|
14
11
|
// package.json
|
|
15
12
|
var package_default = {
|
|
16
13
|
name: "@phantom/server-sdk",
|
|
17
|
-
version: "1.0.0-beta.
|
|
14
|
+
version: "1.0.0-beta.22",
|
|
18
15
|
description: "Server SDK for Phantom Wallet",
|
|
19
16
|
main: "dist/index.js",
|
|
20
17
|
module: "dist/index.mjs",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phantom/server-sdk",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.22",
|
|
4
4
|
"description": "Server SDK for Phantom Wallet",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"typescript": "^5.0.4"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@phantom/api-key-stamper": "^1.0.0-beta.
|
|
41
|
-
"@phantom/base64url": "^1.0.0-beta.
|
|
42
|
-
"@phantom/client": "^1.0.0-beta.
|
|
43
|
-
"@phantom/constants": "^1.0.0-beta.
|
|
44
|
-
"@phantom/parsers": "^1.0.0-beta.
|
|
45
|
-
"@phantom/utils": "^1.0.0-beta.
|
|
40
|
+
"@phantom/api-key-stamper": "^1.0.0-beta.10",
|
|
41
|
+
"@phantom/base64url": "^1.0.0-beta.10",
|
|
42
|
+
"@phantom/client": "^1.0.0-beta.22",
|
|
43
|
+
"@phantom/constants": "^1.0.0-beta.10",
|
|
44
|
+
"@phantom/parsers": "^1.0.0-beta.10",
|
|
45
|
+
"@phantom/utils": "^1.0.0-beta.22",
|
|
46
46
|
"bs58": "^6.0.0"
|
|
47
47
|
},
|
|
48
48
|
"files": [
|