@dfinity/ledger-icrc 2.9.1-beta-2025-07-18.1 → 2.9.1-beta-2025-07-23.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,4 +1,4 @@
1
- // Generated from IC repo commit e915efe (2025-07-02 tags: release-2025-07-03_03-27-base) 'rs/ledger_suite/icrc1/index-ng/index-ng.did' by import-candid
1
+ // Generated from IC repo commit 143a635 (2025-07-17 tags: release-2025-07-17_11-23-base) 'rs/ledger_suite/icrc1/index-ng/index-ng.did' by import-candid
2
2
  type Tokens = nat;
3
3
 
4
4
  type InitArg = record {
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit e915efe (2025-07-02 tags: release-2025-07-03_03-27-base) 'rs/ledger_suite/icrc1/ledger/ledger.did' by import-candid
1
+ // Generated from IC repo commit 143a635 (2025-07-17 tags: release-2025-07-17_11-23-base) 'rs/ledger_suite/icrc1/ledger/ledger.did' by import-candid
2
2
  type BlockIndex = nat;
3
3
  type Subaccount = blob;
4
4
  // Number of nanoseconds since the UNIX epoch in UTC timezone.
@@ -66,10 +66,10 @@ export type AllowanceParams = AllowanceArgs & QueryParams;
66
66
  * @param {number} [utcOffsetMinutes] - The user's local timezone offset in minutes from UTC. If absent, the default is UTC.
67
67
  * @param {string} language - BCP-47 language tag. See https://www.rfc-editor.org/rfc/bcp/bcp47.txt
68
68
  */
69
- export type Icrc21ConsentMessageMetadata = {
69
+ export interface Icrc21ConsentMessageMetadata {
70
70
  utcOffsetMinutes?: number;
71
71
  language: string;
72
- };
72
+ }
73
73
  /**
74
74
  * Device specification for displaying the consent message.
75
75
  *
@@ -92,10 +92,10 @@ export type Icrc21ConsentMessageDeviceSpec = {
92
92
  * @param {Icrc21ConsentMessageMetadata} metadata - Metadata of the consent message.
93
93
  * @param {Icrc21ConsentMessageDeviceSpec} [deviceSpec] - Information about the device responsible for presenting the consent message to the user.
94
94
  */
95
- export type Icrc21ConsentMessageSpec = {
95
+ export interface Icrc21ConsentMessageSpec {
96
96
  metadata: Icrc21ConsentMessageMetadata;
97
97
  deriveSpec?: Icrc21ConsentMessageDeviceSpec;
98
- };
98
+ }
99
99
  /**
100
100
  * Parameters for the consent message request.
101
101
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dfinity/ledger-icrc",
3
- "version": "2.9.1-beta-2025-07-18.1",
3
+ "version": "2.9.1-beta-2025-07-23.1",
4
4
  "description": "A library for interfacing with ICRC ledgers on the Internet Computer.",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/cjs/index.cjs.js",