@openfort/openfort-node 0.7.4 → 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/dist/index.js CHANGED
@@ -288,6 +288,7 @@ __export(index_exports, {
288
288
  grantOAuth: () => grantOAuth,
289
289
  handleChainRpcRequest: () => handleChainRpcRequest,
290
290
  handleRpcRequest: () => handleRpcRequest,
291
+ handleSolanaRpcRequest: () => handleSolanaRpcRequest,
291
292
  importPrivateKey: () => importPrivateKey,
292
293
  initOAuth: () => initOAuth,
293
294
  initSIWE: () => initSIWE,
@@ -719,7 +720,7 @@ function requiresWalletAuth(requestMethod, requestPath) {
719
720
  }
720
721
 
721
722
  // src/version.ts
722
- var VERSION = "0.7.4";
723
+ var VERSION = "0.7.5";
723
724
  var PACKAGE = "@openfort/openfort-node";
724
725
 
725
726
  // src/openapi-client/openfortApiClient.ts
@@ -2943,7 +2944,8 @@ var ApiKeyType = {
2943
2944
  pk: "pk",
2944
2945
  sk: "sk",
2945
2946
  pk_shield: "pk_shield",
2946
- sk_shield: "sk_shield"
2947
+ sk_shield: "sk_shield",
2948
+ pk_wallet: "pk_wallet"
2947
2949
  };
2948
2950
  var AuthProviderResponse = {
2949
2951
  email: "email",
@@ -3531,6 +3533,19 @@ var getVerificationPayload = (params, options) => {
3531
3533
  );
3532
3534
  };
3533
3535
 
3536
+ // src/openapi-client/generated/solana-rpc/solana-rpc.ts
3537
+ var handleSolanaRpcRequest = (cluster, jsonRpcRequest, options) => {
3538
+ return openfortApiClient(
3539
+ {
3540
+ url: `/rpc/solana/${cluster}`,
3541
+ method: "POST",
3542
+ headers: { "Content-Type": "application/json" },
3543
+ data: jsonRpcRequest
3544
+ },
3545
+ options
3546
+ );
3547
+ };
3548
+
3534
3549
  // src/openapi-client/generated/subscriptions/subscriptions.ts
3535
3550
  var getSubscriptions = (options) => {
3536
3551
  return openfortApiClient(
@@ -5253,6 +5268,7 @@ var index_default = Openfort;
5253
5268
  grantOAuth,
5254
5269
  handleChainRpcRequest,
5255
5270
  handleRpcRequest,
5271
+ handleSolanaRpcRequest,
5256
5272
  importPrivateKey,
5257
5273
  initOAuth,
5258
5274
  initSIWE,