wative-core 2.2.1 → 2.3.9
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 +486 -13
- package/LICENSE +114 -0
- package/README.md +144 -5
- package/dist/artifacts/evm/index.cjs +1 -1
- package/dist/artifacts/evm/index.d.cts +2 -2
- package/dist/artifacts/evm/index.d.ts +2 -2
- package/dist/artifacts/evm/index.js +1 -1
- package/dist/artifacts/svm/index.cjs +1 -1
- package/dist/artifacts/svm/index.d.cts +3 -3
- package/dist/artifacts/svm/index.d.ts +3 -3
- package/dist/artifacts/svm/index.js +1 -1
- package/dist/{container-provider-i614LDE1.d.cts → container-provider-CkKGyHis.d.cts} +10 -3
- package/dist/{container-provider-C59yqd5Z.d.ts → container-provider-D_557LVN.d.ts} +10 -3
- package/dist/{evm-BLml33LX.d.cts → evm-Xw4zBLUH.d.ts} +2 -2
- package/dist/{evm-DTzqGlL6.d.ts → evm-gsdoVj16.d.cts} +2 -2
- package/dist/{file-sink-LS4hyXXi.d.ts → file-sink-C_SlT9IC.d.cts} +8 -5
- package/dist/{file-sink-B73MuigK.d.cts → file-sink-D33jvque.d.ts} +8 -5
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +20 -7
- package/dist/index.d.ts +20 -7
- package/dist/index.js +1 -1
- package/dist/index.node.cjs +1 -1
- package/dist/index.node.d.cts +6 -6
- package/dist/index.node.d.ts +6 -6
- package/dist/index.node.js +1 -1
- package/dist/node/index.cjs +1 -1
- package/dist/node/index.d.cts +3 -3
- package/dist/node/index.d.ts +3 -3
- package/dist/node/index.js +1 -1
- package/dist/{svm-DieFbh9k.d.ts → svm-CTCJsYri.d.cts} +2 -2
- package/dist/{svm-CCzqNAWM.d.cts → svm-CUuqpl1h.d.ts} +2 -2
- package/dist/{workspace-CamTHxso.d.cts → workspace-Du_jy51u.d.cts} +19 -4
- package/dist/{workspace-CamTHxso.d.ts → workspace-Du_jy51u.d.ts} +19 -4
- package/examples/15-package-resolution.test.cjs +187 -1
- package/examples/18-envelope-v3.test.cjs +106 -0
- package/package.json +6 -3
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { P as Provider,
|
|
2
|
-
export { A as Account, a as AccountCollection, b as AccountOrgType, c as Address, d as Asset, e as AssetBalance, f as AssetCollection, g as AssetId, h as AssetInitObject, C as ChainId, j as ConsoleSink, E as EvmAddress,
|
|
3
|
-
import { a as ContainerProvider } from './container-provider-
|
|
4
|
-
export { C as ContainerEntry } from './container-provider-
|
|
5
|
-
export { C as Contract } from './evm-
|
|
6
|
-
export { P as Program, S as SvmInstruction } from './svm-
|
|
1
|
+
import { P as Provider, x as RecordType, B as Slug, R as Record$1, i as ChainVM } from './workspace-Du_jy51u.cjs';
|
|
2
|
+
export { A as Account, a as AccountCollection, b as AccountOrgType, c as Address, d as Asset, e as AssetBalance, f as AssetCollection, g as AssetId, h as AssetInitObject, C as ChainId, j as ConsoleSink, k as ContainerState, E as EvmAddress, l as EvmRawTx, m as EvmTransaction, n as EvmTxBuildParams, o as EvmTxType, L as LogLevel, p as LogRecord, q as LogSink, r as Logger, s as LoggerConfig, N as Network, t as NetworkCollection, u as NetworkInit, v as NetworkLike, O as OpenOptions, w as RecordInit, S as Settling, y as SimulationResult, z as SinkConfig, D as SvmAddress, F as SvmTransaction, G as SvmTxBuildParams, T as Transaction, H as TransactionReceipt, I as TransactionStateChange, J as TransactionStatus, K as TransactionTracker, W as Wallet, M as WalletCollection, Q as WativeError, U as WativeErrorCode, V as WativeErrorOpts, X as Workspace, Y as WorkspaceConfig, Z as newMnemonic } from './workspace-Du_jy51u.cjs';
|
|
3
|
+
import { a as ContainerProvider } from './container-provider-CkKGyHis.cjs';
|
|
4
|
+
export { C as ContainerEntry } from './container-provider-CkKGyHis.cjs';
|
|
5
|
+
export { A as AbiItem, C as Contract } from './evm-gsdoVj16.cjs';
|
|
6
|
+
export { P as Program, S as SvmInstruction } from './svm-CTCJsYri.cjs';
|
|
7
7
|
|
|
8
8
|
type StorageDurability = "persistent" | "best-effort";
|
|
9
9
|
interface IdbProviderOptions {
|
|
@@ -123,6 +123,19 @@ declare class Argon2Kdf extends Cipher {
|
|
|
123
123
|
decrypt(_input: Uint8Array, _secret: Uint8Array): never;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
+
interface Argon2BackendInfo {
|
|
127
|
+
|
|
128
|
+
readonly backend: string;
|
|
129
|
+
|
|
130
|
+
readonly wasm: boolean;
|
|
131
|
+
|
|
132
|
+
readonly reason?: string;
|
|
133
|
+
|
|
134
|
+
readonly overrides: readonly string[];
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
declare function argon2BackendInfo(): Argon2BackendInfo;
|
|
138
|
+
|
|
126
139
|
type PasswordWeaknessCode = "TOO_SHORT" | "NO_UPPERCASE" | "NO_LOWERCASE" | "NO_DIGIT" | "NO_SYMBOL" | "REPEATED_CHARS" | "SEQUENTIAL_CHARS" | "USERNAME_SUBSTRING" | "FORBIDDEN_WORD" | "REUSED_FROM_HISTORY" | "LEADING_TRAILING_WHITESPACE" | "MIXED_UNICODE_NORMALIZATION" | "INVISIBLE_CHARACTERS";
|
|
127
140
|
interface PasswordWeakness {
|
|
128
141
|
readonly code: PasswordWeaknessCode;
|
|
@@ -191,4 +204,4 @@ interface AssetInit {
|
|
|
191
204
|
}
|
|
192
205
|
declare const BUILTIN_ASSETS: Record<string, ReadonlyArray<AssetInit>>;
|
|
193
206
|
|
|
194
|
-
export { AesGcmCipher, type AesGcmCipherOptions, Argon2Kdf, type Argon2KdfOptions, type AssetInit, BUILTIN_ASSETS, BUILTIN_NETWORKS, ChainVM, Cipher, ContainerProvider, DbProvider, FileProvider, IdbProvider, type IdbProviderOptions, type PasswordCheckResult, PasswordPolicy, type PasswordPolicyOptions, PasswordScore, type PasswordWeakness, type PasswordWeaknessCode, Provider, Record$1 as Record, RecordType, Slug, type StorageDurability, type StorageQuota };
|
|
207
|
+
export { AesGcmCipher, type AesGcmCipherOptions, type Argon2BackendInfo, Argon2Kdf, type Argon2KdfOptions, type AssetInit, BUILTIN_ASSETS, BUILTIN_NETWORKS, ChainVM, Cipher, ContainerProvider, DbProvider, FileProvider, IdbProvider, type IdbProviderOptions, type NetworkConfig, type PasswordCheckContext, type PasswordCheckResult, PasswordPolicy, type PasswordPolicyOptions, PasswordScore, type PasswordWeakness, type PasswordWeaknessCode, Provider, Record$1 as Record, RecordType, Slug, type StorageDurability, type StorageQuota, argon2BackendInfo };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { P as Provider,
|
|
2
|
-
export { A as Account, a as AccountCollection, b as AccountOrgType, c as Address, d as Asset, e as AssetBalance, f as AssetCollection, g as AssetId, h as AssetInitObject, C as ChainId, j as ConsoleSink, E as EvmAddress,
|
|
3
|
-
import { a as ContainerProvider } from './container-provider-
|
|
4
|
-
export { C as ContainerEntry } from './container-provider-
|
|
5
|
-
export { C as Contract } from './evm-
|
|
6
|
-
export { P as Program, S as SvmInstruction } from './svm-
|
|
1
|
+
import { P as Provider, x as RecordType, B as Slug, R as Record$1, i as ChainVM } from './workspace-Du_jy51u.js';
|
|
2
|
+
export { A as Account, a as AccountCollection, b as AccountOrgType, c as Address, d as Asset, e as AssetBalance, f as AssetCollection, g as AssetId, h as AssetInitObject, C as ChainId, j as ConsoleSink, k as ContainerState, E as EvmAddress, l as EvmRawTx, m as EvmTransaction, n as EvmTxBuildParams, o as EvmTxType, L as LogLevel, p as LogRecord, q as LogSink, r as Logger, s as LoggerConfig, N as Network, t as NetworkCollection, u as NetworkInit, v as NetworkLike, O as OpenOptions, w as RecordInit, S as Settling, y as SimulationResult, z as SinkConfig, D as SvmAddress, F as SvmTransaction, G as SvmTxBuildParams, T as Transaction, H as TransactionReceipt, I as TransactionStateChange, J as TransactionStatus, K as TransactionTracker, W as Wallet, M as WalletCollection, Q as WativeError, U as WativeErrorCode, V as WativeErrorOpts, X as Workspace, Y as WorkspaceConfig, Z as newMnemonic } from './workspace-Du_jy51u.js';
|
|
3
|
+
import { a as ContainerProvider } from './container-provider-D_557LVN.js';
|
|
4
|
+
export { C as ContainerEntry } from './container-provider-D_557LVN.js';
|
|
5
|
+
export { A as AbiItem, C as Contract } from './evm-Xw4zBLUH.js';
|
|
6
|
+
export { P as Program, S as SvmInstruction } from './svm-CUuqpl1h.js';
|
|
7
7
|
|
|
8
8
|
type StorageDurability = "persistent" | "best-effort";
|
|
9
9
|
interface IdbProviderOptions {
|
|
@@ -123,6 +123,19 @@ declare class Argon2Kdf extends Cipher {
|
|
|
123
123
|
decrypt(_input: Uint8Array, _secret: Uint8Array): never;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
+
interface Argon2BackendInfo {
|
|
127
|
+
|
|
128
|
+
readonly backend: string;
|
|
129
|
+
|
|
130
|
+
readonly wasm: boolean;
|
|
131
|
+
|
|
132
|
+
readonly reason?: string;
|
|
133
|
+
|
|
134
|
+
readonly overrides: readonly string[];
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
declare function argon2BackendInfo(): Argon2BackendInfo;
|
|
138
|
+
|
|
126
139
|
type PasswordWeaknessCode = "TOO_SHORT" | "NO_UPPERCASE" | "NO_LOWERCASE" | "NO_DIGIT" | "NO_SYMBOL" | "REPEATED_CHARS" | "SEQUENTIAL_CHARS" | "USERNAME_SUBSTRING" | "FORBIDDEN_WORD" | "REUSED_FROM_HISTORY" | "LEADING_TRAILING_WHITESPACE" | "MIXED_UNICODE_NORMALIZATION" | "INVISIBLE_CHARACTERS";
|
|
127
140
|
interface PasswordWeakness {
|
|
128
141
|
readonly code: PasswordWeaknessCode;
|
|
@@ -191,4 +204,4 @@ interface AssetInit {
|
|
|
191
204
|
}
|
|
192
205
|
declare const BUILTIN_ASSETS: Record<string, ReadonlyArray<AssetInit>>;
|
|
193
206
|
|
|
194
|
-
export { AesGcmCipher, type AesGcmCipherOptions, Argon2Kdf, type Argon2KdfOptions, type AssetInit, BUILTIN_ASSETS, BUILTIN_NETWORKS, ChainVM, Cipher, ContainerProvider, DbProvider, FileProvider, IdbProvider, type IdbProviderOptions, type PasswordCheckResult, PasswordPolicy, type PasswordPolicyOptions, PasswordScore, type PasswordWeakness, type PasswordWeaknessCode, Provider, Record$1 as Record, RecordType, Slug, type StorageDurability, type StorageQuota };
|
|
207
|
+
export { AesGcmCipher, type AesGcmCipherOptions, type Argon2BackendInfo, Argon2Kdf, type Argon2KdfOptions, type AssetInit, BUILTIN_ASSETS, BUILTIN_NETWORKS, ChainVM, Cipher, ContainerProvider, DbProvider, FileProvider, IdbProvider, type IdbProviderOptions, type NetworkConfig, type PasswordCheckContext, type PasswordCheckResult, PasswordPolicy, type PasswordPolicyOptions, PasswordScore, type PasswordWeakness, type PasswordWeaknessCode, Provider, Record$1 as Record, RecordType, Slug, type StorageDurability, type StorageQuota, argon2BackendInfo };
|