@novasamatech/host-api 0.8.12 → 0.9.1

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.
@@ -1,6 +1,6 @@
1
- export declare const Topic: import("scale-ts").Codec<Uint8Array<ArrayBufferLike>>;
2
- export declare const Channel: import("scale-ts").Codec<Uint8Array<ArrayBufferLike>>;
3
- export declare const DecryptionKey: import("scale-ts").Codec<Uint8Array<ArrayBufferLike>>;
1
+ export declare const Topic: import("@novasamatech/scale").BytesCodec<number>;
2
+ export declare const Channel: import("@novasamatech/scale").BytesCodec<number>;
3
+ export declare const DecryptionKey: import("@novasamatech/scale").BytesCodec<number>;
4
4
  export declare const Statement: import("scale-ts").Codec<{
5
5
  proof: {
6
6
  tag: "Sr25519";
@@ -176,7 +176,13 @@ export declare const StatementProofErr: [import("scale-ts").Encoder<import("@nov
176
176
  reason: string;
177
177
  }, "StatementProofErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "StatementProofErr::UnableToSign"> | import("@novasamatech/scale").CodecError<undefined, "StatementProofErr::UnknownAccount">;
178
178
  };
179
- export declare const StatementStoreCreateProofV1_request: import("scale-ts").Codec<[[string, number], {
179
+ export declare const StatementStoreCreateProofV1_request: import("scale-ts").Codec<[[string, {
180
+ tag: "Index";
181
+ value: number;
182
+ } | {
183
+ tag: "Raw";
184
+ value: Uint8Array<ArrayBufferLike>;
185
+ }], {
180
186
  proof: {
181
187
  tag: "Sr25519";
182
188
  value: {
@@ -1,5 +1,5 @@
1
- import { Enum, ErrEnum } from '@novasamatech/scale';
2
- import { Bytes, Option, Result, Struct, Tuple, Vector, _void, bool, u64 } from 'scale-ts';
1
+ import { Bytes, Enum, ErrEnum } from '@novasamatech/scale';
2
+ import { Option, Result, Struct, Tuple, Vector, _void, bool, u64 } from 'scale-ts';
3
3
  import { GenericErr, GenericError } from '../commonCodecs.js';
4
4
  import { ProductAccountId } from './accounts.js';
5
5
  // structs definition
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@novasamatech/host-api",
3
3
  "type": "module",
4
- "version": "0.8.12",
4
+ "version": "0.9.1",
5
5
  "description": "Host API: transport implementation for host - product integration.",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
@@ -22,7 +22,7 @@
22
22
  "README.md"
23
23
  ],
24
24
  "dependencies": {
25
- "@novasamatech/scale": "0.8.12",
25
+ "@novasamatech/scale": "0.9.1",
26
26
  "nanoevents": "10.0.0",
27
27
  "nanoid": "6.0.0",
28
28
  "neverthrow": "^8.2.0",