@fhevm/sdk 1.0.0-alpha.3 → 1.0.0-alpha.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/_cjs/core/_version.js +1 -1
- package/_cjs/core/actions/encrypt/generateZkProof.js.map +1 -1
- package/_cjs/core/base/index.js +0 -5
- package/_cjs/core/base/index.js.map +1 -1
- package/_cjs/core/base/typedValue.js +20 -6
- package/_cjs/core/base/typedValue.js.map +1 -1
- package/_cjs/core/base/uint.js +23 -0
- package/_cjs/core/base/uint.js.map +1 -1
- package/_cjs/core/host-contracts/checkDelegation.js +13 -0
- package/_cjs/core/host-contracts/checkDelegation.js.map +1 -1
- package/_cjs/core/host-contracts/constants.js +5 -0
- package/_cjs/core/host-contracts/constants.js.map +1 -0
- package/_esm/core/_version.js +1 -1
- package/_esm/core/actions/encrypt/generateZkProof.js.map +1 -1
- package/_esm/core/base/index.js +1 -1
- package/_esm/core/base/index.js.map +1 -1
- package/_esm/core/base/typedValue.js +24 -7
- package/_esm/core/base/typedValue.js.map +1 -1
- package/_esm/core/base/uint.js +21 -0
- package/_esm/core/base/uint.js.map +1 -1
- package/_esm/core/host-contracts/checkDelegation.js +19 -5
- package/_esm/core/host-contracts/checkDelegation.js.map +1 -1
- package/_esm/core/host-contracts/constants.js +2 -0
- package/_esm/core/host-contracts/constants.js.map +1 -0
- package/_types/core/actions/encrypt/encryptValue.d.ts +5 -2
- package/_types/core/actions/encrypt/encryptValue.d.ts.map +1 -1
- package/_types/core/actions/encrypt/encryptValues.d.ts +5 -2
- package/_types/core/actions/encrypt/encryptValues.d.ts.map +1 -1
- package/_types/core/actions/encrypt/generateZkProof.d.ts +4 -2
- package/_types/core/actions/encrypt/generateZkProof.d.ts.map +1 -1
- package/_types/core/base/errors/InvalidTypeError.d.ts +1 -1
- package/_types/core/base/errors/InvalidTypeError.d.ts.map +1 -1
- package/_types/core/base/index.d.ts +1 -1
- package/_types/core/base/index.d.ts.map +1 -1
- package/_types/core/base/typedValue.d.ts +3 -13
- package/_types/core/base/typedValue.d.ts.map +1 -1
- package/_types/core/base/uint.d.ts +4 -0
- package/_types/core/base/uint.d.ts.map +1 -1
- package/_types/core/host-contracts/checkDelegation.d.ts.map +1 -1
- package/_types/core/host-contracts/constants.d.ts +3 -0
- package/_types/core/host-contracts/constants.d.ts.map +1 -0
- package/_types/core/types/primitives.d.ts +4 -0
- package/_types/core/types/primitives.d.ts.map +1 -1
- package/core/_version.ts +1 -1
- package/core/actions/encrypt/encryptValue.ts +2 -2
- package/core/actions/encrypt/encryptValues.ts +2 -2
- package/core/actions/encrypt/generateZkProof.ts +1 -2
- package/core/base/errors/InvalidTypeError.ts +1 -1
- package/core/base/index.ts +0 -1
- package/core/base/typedValue.ts +32 -25
- package/core/base/uint.ts +30 -0
- package/core/host-contracts/checkDelegation.ts +20 -5
- package/core/host-contracts/constants.ts +3 -0
- package/core/types/primitives.ts +4 -0
- package/package.json +1 -1
- package/tsconfig.json +1 -1
- package/vitest.config.ts +17 -0
package/vitest.config.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { defineConfig } from 'vitest/config';
|
|
2
|
+
|
|
3
|
+
export default defineConfig({
|
|
4
|
+
test: {
|
|
5
|
+
include: ['src/**/*.test.ts'],
|
|
6
|
+
exclude: ['src/index.hello.test.ts'],
|
|
7
|
+
reporters: ['verbose'],
|
|
8
|
+
passWithNoTests: false,
|
|
9
|
+
typecheck: { enabled: true },
|
|
10
|
+
coverage: {
|
|
11
|
+
provider: 'v8',
|
|
12
|
+
reporter: ['text'],
|
|
13
|
+
//include: ['src/**/*.ts'],
|
|
14
|
+
//exclude: ['src/**/*.test.ts', 'src/**/*.test-d.ts', 'src/vitest.config.ts'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
});
|