@notabene/javascript-sdk 2.14.2-next.4 → 2.14.2-next.5

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.
@@ -10,7 +10,7 @@
10
10
  "author": "Notabene <developers@notabene.id>",
11
11
  "license": "MIT",
12
12
  "packageManager": "yarn@4.5.1",
13
- "version": "2.14.2-next.4",
13
+ "version": "2.14.2-next.5",
14
14
  "source": "src/notabene.ts",
15
15
  "main": "dist/cjs/notabene.cjs",
16
16
  "module": "dist/esm/notabene.js",
@@ -10,7 +10,7 @@
10
10
  "author": "Notabene <developers@notabene.id>",
11
11
  "license": "MIT",
12
12
  "packageManager": "yarn@4.5.1",
13
- "version": "2.14.2-next.4",
13
+ "version": "2.14.2-next.5",
14
14
  "source": "src/notabene.ts",
15
15
  "main": "dist/cjs/notabene.cjs",
16
16
  "module": "dist/esm/notabene.js",
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "author": "Notabene <developers@notabene.id>",
11
11
  "license": "MIT",
12
12
  "packageManager": "yarn@4.5.1",
13
- "version": "2.14.2-next.4",
13
+ "version": "2.14.2-next.5",
14
14
  "source": "src/notabene.ts",
15
15
  "main": "dist/cjs/notabene.cjs",
16
16
  "module": "dist/esm/notabene.js",
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  CMType,
3
3
  HMType,
4
- HostMessage,
5
- TransactionResponse,
6
- ValidationError,
4
+ type HostMessage,
5
+ type TransactionResponse,
6
+ type ValidationError,
7
7
  } from '../types';
8
8
  import {
9
- MessageCallback,
9
+ type MessageCallback,
10
10
  MessageEventManager,
11
11
  } from '../utils/MessageEventManager';
12
12
 
@@ -1,4 +1,4 @@
1
- import {
1
+ import type {
2
2
  NaturalPerson,
3
3
  NaturalPersonName,
4
4
  NaturalPersonNameTypeCode,
@@ -1,5 +1,5 @@
1
1
  import { describe, expect, it } from 'vitest';
2
- import { OriginatorV2 } from '../../ivms/v2Types';
2
+ import type { OriginatorV2 } from '../../ivms/v2Types';
3
3
  import type { Deposit, TransactionResponse, Withdrawal } from '../../types';
4
4
  import { PersonType } from '../../types';
5
5
  import { componentResponseToTxRequests, enrichConfig } from '../transformer';
@@ -7,8 +7,8 @@ import type {
7
7
  } from '@notabene/javascript-sdk/src/ivms/types';
8
8
  import type { Agent } from '@taprsvp/types';
9
9
  import {
10
- Deposit,
11
10
  PersonType,
11
+ type Deposit,
12
12
  type IVMS101,
13
13
  type V1Transaction,
14
14
  type Withdrawal,
@@ -1,8 +1,8 @@
1
1
  import { decodeJwt } from 'jose';
2
2
  import {
3
- Deposit,
4
- DID,
5
3
  PersonType,
4
+ type Deposit,
5
+ type DID,
6
6
  type OwnershipProof,
7
7
  type TransactionResponse,
8
8
  type Withdrawal,
@@ -4,7 +4,7 @@ import type {
4
4
  } from '@notabene/javascript-sdk/src/ivms/types';
5
5
  import { CAIP10Schema, type DID } from '@taprsvp/types';
6
6
  import type { NaturalPersonNameV2, PersonV2 } from '../ivms';
7
- import { Deposit, Withdrawal } from '../types';
7
+ import type { Deposit, Withdrawal } from '../types';
8
8
 
9
9
  export function isDeposit(
10
10
  transaction: Withdrawal | Deposit,
@@ -1,4 +1,4 @@
1
- import { ComponentMessage, HostMessage } from '../types';
1
+ import type { ComponentMessage, HostMessage } from '../types';
2
2
 
3
3
  /**
4
4
  * Callback function for handling component messages.
@@ -3,9 +3,9 @@ import { beforeEach, describe, expect, it, vi } from 'vitest';
3
3
  import type { DID, RefreshSource } from '../../types';
4
4
  import {
5
5
  ConnectionManager,
6
- ConnectionStatus,
6
+ type ConnectionStatus,
7
7
  getRefreshResult,
8
- TransactionType,
8
+ type TransactionType,
9
9
  } from '../connections';
10
10
  import { seal } from '../encryption';
11
11
 
@@ -1,6 +1,6 @@
1
1
  import * as fc from 'fast-check';
2
2
  import { describe, expect, it } from 'vitest';
3
- import { Agent, AgentType } from '../../types';
3
+ import { type Agent, AgentType } from '../../types';
4
4
  import { seal, unseal } from '../encryption';
5
5
 
6
6
  // Helper to validate that two objects are deeply equal