@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.
- package/dist/cjs/package.json +1 -1
- package/dist/esm/package.json +1 -1
- package/package.json +1 -1
- package/src/components/EmbeddedComponent.ts +4 -4
- package/src/ivms/v2Types.ts +1 -1
- package/src/responseTransformer/__tests__/transformer.test.ts +1 -1
- package/src/responseTransformer/mappers.ts +1 -1
- package/src/responseTransformer/transformer.ts +2 -2
- package/src/responseTransformer/utils.ts +1 -1
- package/src/utils/MessageEventManager.ts +1 -1
- package/src/utils/__tests__/connections.test.ts +2 -2
- package/src/utils/__tests__/encryption.test.ts +1 -1
package/dist/cjs/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.
|
|
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/dist/esm/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.
|
|
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.
|
|
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
|
|
package/src/ivms/v2Types.ts
CHANGED
|
@@ -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';
|
|
@@ -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,
|
|
@@ -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
|