@phantom/server-sdk 1.0.3 → 1.0.4

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.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.3",
61
+ version: "1.0.4",
62
62
  description: "Server SDK for Phantom Wallet",
63
63
  repository: {
64
64
  type: "git",
@@ -136,8 +136,9 @@ function createServerSdkHeaders(appId) {
136
136
  return {
137
137
  [import_constants.ANALYTICS_HEADERS.SDK_TYPE]: "server",
138
138
  [import_constants.ANALYTICS_HEADERS.SDK_VERSION]: getSdkVersion(),
139
- [import_constants.ANALYTICS_HEADERS.PLATFORM]: `node`,
139
+ [import_constants.ANALYTICS_HEADERS.PLATFORM]: "ext-sdk",
140
140
  [import_constants.ANALYTICS_HEADERS.PLATFORM_VERSION]: `${getNodeVersion()}`,
141
+ [import_constants.ANALYTICS_HEADERS.CLIENT]: "node",
141
142
  [import_constants.ANALYTICS_HEADERS.APP_ID]: appId
142
143
  };
143
144
  }
package/dist/index.mjs CHANGED
@@ -15,7 +15,7 @@ import bs58 from "bs58";
15
15
  // package.json
16
16
  var package_default = {
17
17
  name: "@phantom/server-sdk",
18
- version: "1.0.3",
18
+ version: "1.0.4",
19
19
  description: "Server SDK for Phantom Wallet",
20
20
  repository: {
21
21
  type: "git",
@@ -112,8 +112,9 @@ function createServerSdkHeaders(appId) {
112
112
  return {
113
113
  [ANALYTICS_HEADERS.SDK_TYPE]: "server",
114
114
  [ANALYTICS_HEADERS.SDK_VERSION]: getSdkVersion(),
115
- [ANALYTICS_HEADERS.PLATFORM]: `node`,
115
+ [ANALYTICS_HEADERS.PLATFORM]: "ext-sdk",
116
116
  [ANALYTICS_HEADERS.PLATFORM_VERSION]: `${getNodeVersion()}`,
117
+ [ANALYTICS_HEADERS.CLIENT]: "node",
117
118
  [ANALYTICS_HEADERS.APP_ID]: appId
118
119
  };
119
120
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phantom/server-sdk",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Server SDK for Phantom Wallet",
5
5
  "repository": {
6
6
  "type": "git",
@@ -42,13 +42,13 @@
42
42
  "typescript": "^5.0.4"
43
43
  },
44
44
  "dependencies": {
45
- "@phantom/api-key-stamper": "^1.0.3",
46
- "@phantom/base64url": "^1.0.3",
47
- "@phantom/client": "^1.0.3",
48
- "@phantom/constants": "^1.0.3",
49
- "@phantom/parsers": "^1.0.3",
50
- "@phantom/sdk-types": "^1.0.3",
51
- "@phantom/utils": "^1.0.3",
45
+ "@phantom/api-key-stamper": "^1.0.4",
46
+ "@phantom/base64url": "^1.0.4",
47
+ "@phantom/client": "^1.0.4",
48
+ "@phantom/constants": "^1.0.4",
49
+ "@phantom/parsers": "^1.0.4",
50
+ "@phantom/sdk-types": "^1.0.4",
51
+ "@phantom/utils": "^1.0.4",
52
52
  "bs58": "^6.0.0"
53
53
  },
54
54
  "files": [