Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@notabene/javascript-sdk

Package Overview
Dependencies
Maintainers
0
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@notabene/javascript-sdk - npm Package Compare versions

Comparing version 2.0.0-next.5 to 2.0.0-next.6

10

dist/notabene.d.ts

@@ -79,7 +79,7 @@ /**

declare type CAIP10 = string;
declare type CAIP10 = `${CAIP2}:${string}`;
declare type CAIP19 = string;
declare type CAIP19 = `${CAIP2}/${string}:${string}`;
declare type CAIP2 = string;
declare type CAIP2 = `${string}:${string}`;

@@ -163,5 +163,5 @@ declare interface CallbackOptions {

*/
export declare type destination = BlockchainAddress | CAIP19 | TravelAddress;
export declare type destination = BlockchainAddress | CAIP10 | TravelAddress;
declare type DID = string;
declare type DID = `did:${string}:${string}`;

@@ -168,0 +168,0 @@ declare type DTI = string;

@@ -12,3 +12,3 @@ {

"license": "MIT",
"version": "2.0.0-next.5",
"version": "2.0.0-next.6",
"source": "src/notabene.ts",

@@ -15,0 +15,0 @@ "main": "dist/notabene.js",

@@ -9,5 +9,5 @@ import {

export type CAIP2 = string;
export type CAIP10 = string;
export type CAIP19 = string;
export type CAIP2 = `${string}:${string}`;
export type CAIP10 = `${CAIP2}:${string}`;
export type CAIP19 = `${CAIP2}/${string}:${string}`;
export type CAIP220 = string;

@@ -33,6 +33,6 @@

*/
export type Destination = BlockchainAddress | CAIP19 | TravelAddress;
export type Source = BlockchainAddress | CAIP19;
export type Destination = BlockchainAddress | CAIP10 | TravelAddress;
export type Source = BlockchainAddress | CAIP10;
export type URI = string;
export type DID = string;
export type DID = `did:${string}:${string}`;

@@ -54,13 +54,13 @@ /**

export type TransactionType = 'VASP_2_VASP' | 'SELF_HOSTED';
// export type TransactionType = 'VASP_2_VASP' | 'SELF_HOSTED';
export type TransactionTypeAllowed =
| 'ALL'
| 'VASP_2_VASP_ONLY'
| 'FIRST_PARTY_ONLY';
// export type TransactionTypeAllowed =
// | 'ALL'
// | 'VASP_2_VASP_ONLY'
// | 'FIRST_PARTY_ONLY';
export type NonCustodialDeclarationType =
| 'SIGNATURE'
| 'DECLARATION'
| 'SIGNATURE_AND_DECLARATION';
// export type NonCustodialDeclarationType =
// | 'SIGNATURE'
// | 'DECLARATION'
// | 'SIGNATURE_AND_DECLARATION';

@@ -67,0 +67,0 @@ /**

@@ -12,11 +12,11 @@ import fc from 'fast-check';

export const arbitraryCAIP10 = (): fc.Arbitrary<CAIP10> =>
fc.stringMatching(CAIP10_MATCHER);
fc.stringMatching(CAIP10_MATCHER) as fc.Arbitrary<CAIP10>;
export const arbitraryCAIP2 = (): fc.Arbitrary<CAIP2> =>
fc.stringMatching(CAIP2_MATCHER);
fc.stringMatching(CAIP2_MATCHER) as fc.Arbitrary<CAIP2>;
export const arbitraryCAIP19 = (): fc.Arbitrary<CAIP19> =>
fc.stringMatching(CAIP19_MATCHER);
fc.stringMatching(CAIP19_MATCHER) as fc.Arbitrary<CAIP19>;
export const arbitraryCAIP220 = (): fc.Arbitrary<CAIP220> =>
fc.stringMatching(CAIP220_MATCHER);
fc.stringMatching(CAIP220_MATCHER) as fc.Arbitrary<CAIP220>;
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc