@openfort/openfort-node 0.8.1 → 0.8.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/CHANGELOG.md +12 -0
- package/dist/index.d.mts +4 -28
- package/dist/index.d.ts +4 -28
- package/dist/index.js +5 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -7
- package/dist/index.mjs.map +1 -1
- package/examples/evm/accounts/createAccount.ts +1 -3
- package/examples/evm/accounts/exportAccount.ts +0 -1
- package/examples/evm/accounts/getAccount.ts +1 -3
- package/examples/evm/accounts/importAccount.ts +0 -1
- package/examples/evm/accounts/listAccounts.ts +2 -2
- package/examples/evm/embedded/pregenerate.ts +1 -1
- package/examples/evm/signing/signHash.ts +1 -3
- package/examples/evm/signing/signMessage.ts +1 -3
- package/examples/evm/signing/signTransaction.ts +1 -3
- package/examples/evm/signing/signTypedData.ts +1 -3
- package/examples/policies/createAccountPolicy.ts +1 -3
- package/examples/solana/accounts/createAccount.ts +1 -3
- package/examples/solana/accounts/exportAccount.ts +1 -3
- package/examples/solana/accounts/getAccount.ts +1 -3
- package/examples/solana/accounts/importAccount.ts +0 -1
- package/examples/solana/accounts/listAccounts.ts +2 -2
- package/examples/solana/signing/signMessage.ts +1 -3
- package/examples/solana/signing/signTransaction.ts +1 -3
- package/openapi.json +3 -33
- package/package.json +1 -1
- package/pnpm-workspace.yaml +3 -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.8.
|
|
377
|
+
var VERSION = "0.8.3";
|
|
378
378
|
var PACKAGE = "@openfort/openfort-node";
|
|
379
379
|
|
|
380
380
|
// src/openapi-client/openfortApiClient.ts
|
|
@@ -716,7 +716,7 @@ var openfortApiClient = async (config, options) => {
|
|
|
716
716
|
);
|
|
717
717
|
}
|
|
718
718
|
throw new UnknownError(
|
|
719
|
-
"Something went wrong. Please contact support at
|
|
719
|
+
"Something went wrong. Please contact support at support@openfort.xyz",
|
|
720
720
|
error instanceof Error ? error : void 0
|
|
721
721
|
);
|
|
722
722
|
}
|
|
@@ -3980,8 +3980,7 @@ var EvmClient = class {
|
|
|
3980
3980
|
);
|
|
3981
3981
|
const response = await importPrivateKey({
|
|
3982
3982
|
encryptedPrivateKey,
|
|
3983
|
-
chainType: "EVM"
|
|
3984
|
-
name: options.name
|
|
3983
|
+
chainType: "EVM"
|
|
3985
3984
|
});
|
|
3986
3985
|
return toEvmAccount({
|
|
3987
3986
|
id: response.id,
|
|
@@ -4221,7 +4220,7 @@ var SolanaClient = class {
|
|
|
4221
4220
|
* ```typescript
|
|
4222
4221
|
* const account = await openfort.solana.importAccount({
|
|
4223
4222
|
* privateKey: '5K...', // base58 or hex format
|
|
4224
|
-
*
|
|
4223
|
+
* // base58 or hex format
|
|
4225
4224
|
* });
|
|
4226
4225
|
* ```
|
|
4227
4226
|
*/
|
|
@@ -4264,8 +4263,7 @@ var SolanaClient = class {
|
|
|
4264
4263
|
);
|
|
4265
4264
|
const response = await importPrivateKey({
|
|
4266
4265
|
encryptedPrivateKey,
|
|
4267
|
-
chainType: "SVM"
|
|
4268
|
-
name: options.name
|
|
4266
|
+
chainType: "SVM"
|
|
4269
4267
|
});
|
|
4270
4268
|
return toSolanaAccount({
|
|
4271
4269
|
id: response.id,
|