@openfort/openfort-node 0.7.3 → 0.7.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.
- package/CHANGELOG.md +12 -0
- package/dist/index.d.mts +294 -202
- package/dist/index.d.ts +294 -202
- package/dist/index.js +30 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +29 -14
- package/dist/index.mjs.map +1 -1
- package/examples/evm/embedded/pregenerate.ts +1 -1
- package/openapi-auth.json +6 -0
- package/openapi.json +149 -22
- package/package.json +1 -1
- package/pnpm-workspace.yaml +4 -0
package/dist/index.mjs
CHANGED
|
@@ -374,7 +374,7 @@ function requiresWalletAuth(requestMethod, requestPath) {
|
|
|
374
374
|
}
|
|
375
375
|
|
|
376
376
|
// src/version.ts
|
|
377
|
-
var VERSION = "0.7.
|
|
377
|
+
var VERSION = "0.7.5";
|
|
378
378
|
var PACKAGE = "@openfort/openfort-node";
|
|
379
379
|
|
|
380
380
|
// src/openapi-client/openfortApiClient.ts
|
|
@@ -2598,7 +2598,8 @@ var ApiKeyType = {
|
|
|
2598
2598
|
pk: "pk",
|
|
2599
2599
|
sk: "sk",
|
|
2600
2600
|
pk_shield: "pk_shield",
|
|
2601
|
-
sk_shield: "sk_shield"
|
|
2601
|
+
sk_shield: "sk_shield",
|
|
2602
|
+
pk_wallet: "pk_wallet"
|
|
2602
2603
|
};
|
|
2603
2604
|
var AuthProviderResponse = {
|
|
2604
2605
|
email: "email",
|
|
@@ -3186,6 +3187,19 @@ var getVerificationPayload = (params, options) => {
|
|
|
3186
3187
|
);
|
|
3187
3188
|
};
|
|
3188
3189
|
|
|
3190
|
+
// src/openapi-client/generated/solana-rpc/solana-rpc.ts
|
|
3191
|
+
var handleSolanaRpcRequest = (cluster, jsonRpcRequest, options) => {
|
|
3192
|
+
return openfortApiClient(
|
|
3193
|
+
{
|
|
3194
|
+
url: `/rpc/solana/${cluster}`,
|
|
3195
|
+
method: "POST",
|
|
3196
|
+
headers: { "Content-Type": "application/json" },
|
|
3197
|
+
data: jsonRpcRequest
|
|
3198
|
+
},
|
|
3199
|
+
options
|
|
3200
|
+
);
|
|
3201
|
+
};
|
|
3202
|
+
|
|
3189
3203
|
// src/openapi-client/generated/subscriptions/subscriptions.ts
|
|
3190
3204
|
var getSubscriptions = (options) => {
|
|
3191
3205
|
return openfortApiClient(
|
|
@@ -3408,18 +3422,18 @@ async function sign2(secretKey, data) {
|
|
|
3408
3422
|
|
|
3409
3423
|
// src/constants.ts
|
|
3410
3424
|
var IMPORT_ENCRYPTION_PUBLIC_KEY = `-----BEGIN PUBLIC KEY-----
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
+
|
|
3422
|
-
|
|
3425
|
+
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAleRdKA0Hk431RqG0HyJz
|
|
3426
|
+
VfeG328BwHhP3nmH8YSRP/elYmS4VLcyOCsgtDFHaNKFghvv9MrIrwaj5xJvttxO
|
|
3427
|
+
U6GXFvt+ZaEWyZAWAVw0Q3lk/5J4IWw4C/yAsRtwvr2RVFt2wlfBuB/kwEiLQ16b
|
|
3428
|
+
TEGRtyXy2P/zhz8pwtiz3DuRgknpFO3GLIXuWL8Ajwqv5m8ke4eVJBJHcwpyhR+v
|
|
3429
|
+
KEVtHptsyhjPn3LyHsHdm8lkhV9JDEQhkFhrYy9U5sjRojWJv7wADmmELWcKUbFV
|
|
3430
|
+
lc8isq/c+dFSqai0jBu+L/qMIyG5wG0eCOz1bHF3KSQZOfNF603ze/Uf0odr1q0J
|
|
3431
|
+
PZXjzzgCCeox2CpPtgldnFXhFlWhn9kp3qjHAuaNZrv3LqXca8Zjo5S/anUw0Tla
|
|
3432
|
+
j/ijB6GwRYZlOhDVe+jDrI9w24TwFWv/I3eTQ78gqfgxD/WTeA9a2gOuwr0hbSE1
|
|
3433
|
+
Zg6ptwHTHMXce5CDfjPUMKSywcudMRCcbGBTcIAvvw5Wm+H5/P8fdEtXnPzUv3zk
|
|
3434
|
+
TltjkVKDi8+7ckhMkElxJgP4xshM9ssj+O8TBDkqrHVLAU+3CkUBvWZfwyZbLzp9
|
|
3435
|
+
Aplp+RlvI11Ka2fef9hV9AQucXiMKHgSWQNCTo5JXHPFs8Zq+nj0mfycjwOQiNIJ
|
|
3436
|
+
FRdRZaYbcqwwEXsZ2R0/P00CAwEAAQ==
|
|
3423
3437
|
-----END PUBLIC KEY-----`;
|
|
3424
3438
|
|
|
3425
3439
|
// src/utilities/encryption.ts
|
|
@@ -4917,6 +4931,7 @@ export {
|
|
|
4917
4931
|
grantOAuth,
|
|
4918
4932
|
handleChainRpcRequest,
|
|
4919
4933
|
handleRpcRequest,
|
|
4934
|
+
handleSolanaRpcRequest,
|
|
4920
4935
|
importPrivateKey,
|
|
4921
4936
|
initOAuth,
|
|
4922
4937
|
initSIWE,
|