@notabene/javascript-sdk 2.8.0-next.2 → 2.8.0-next.4
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/notabene.d.ts +1645 -0
- package/dist/cjs/package.json +107 -0
- package/dist/esm/notabene.d.ts +1645 -0
- package/dist/esm/notabene.js +393 -0
- package/dist/esm/package.json +107 -0
- package/dist/notabene.d.ts +5 -5
- package/docs/_media/TransactionOptions.md +6 -6
- package/docs/ivms/types/enumerations/PayloadVersionCode.md +2 -2
- package/docs/ivms/types/interfaces/PayloadMetadata.md +2 -2
- package/docs/ivms/types/type-aliases/Address.md +1 -1
- package/docs/ivms/types/type-aliases/AddressTypeCode.md +1 -1
- package/docs/ivms/types/type-aliases/Beneficiary.md +1 -1
- package/docs/ivms/types/type-aliases/BeneficiaryVASP.md +1 -1
- package/docs/ivms/types/type-aliases/DateAndPlaceOfBirth.md +1 -1
- package/docs/ivms/types/type-aliases/ISOCountryCode.md +1 -1
- package/docs/ivms/types/type-aliases/ISODate.md +1 -1
- package/docs/ivms/types/type-aliases/IVMS101.md +1 -1
- package/docs/ivms/types/type-aliases/IntermediaryVASP.md +1 -1
- package/docs/ivms/types/type-aliases/LegalPerson.md +1 -1
- package/docs/ivms/types/type-aliases/LegalPersonName.md +1 -1
- package/docs/ivms/types/type-aliases/LegalPersonNameID.md +1 -1
- package/docs/ivms/types/type-aliases/LegalPersonNameTypeCode.md +1 -1
- package/docs/ivms/types/type-aliases/LocalLegalPersonNameID.md +1 -1
- package/docs/ivms/types/type-aliases/LocalNaturalPersonNameID.md +1 -1
- package/docs/ivms/types/type-aliases/NationalIdentification.md +1 -1
- package/docs/ivms/types/type-aliases/NationalIdentifierTypeCode.md +1 -1
- package/docs/ivms/types/type-aliases/NaturalPerson.md +1 -1
- package/docs/ivms/types/type-aliases/NaturalPersonName.md +1 -1
- package/docs/ivms/types/type-aliases/NaturalPersonNameID.md +1 -1
- package/docs/ivms/types/type-aliases/NaturalPersonNameTypeCode.md +1 -1
- package/docs/ivms/types/type-aliases/OriginatingVASP.md +1 -1
- package/docs/ivms/types/type-aliases/Originator.md +1 -1
- package/docs/ivms/types/type-aliases/Person.md +1 -1
- package/docs/ivms/types/type-aliases/TransferPath.md +1 -1
- package/docs/ivms/types/type-aliases/TransliterationMethodCode.md +1 -1
- package/docs/notabene/README.md +30 -0
- package/docs/notabene/classes/EmbeddedComponent.md +17 -17
- package/docs/notabene/classes/default.md +7 -7
- package/docs/notabene/functions/decodeFragmentToObject.md +1 -1
- package/docs/notabene/interfaces/NotabeneConfig.md +5 -5
- package/docs/notabene/type-aliases/MessageCallback.md +1 -1
- package/docs/types/README.md +2 -0
- package/docs/types/enumerations/AgentType.md +2 -2
- package/docs/types/enumerations/CMType.md +7 -7
- package/docs/types/enumerations/ErrorIdentifierCode.md +4 -4
- package/docs/types/enumerations/HMType.md +2 -2
- package/docs/types/enumerations/PersonType.md +3 -3
- package/docs/types/enumerations/ProofStatus.md +4 -4
- package/docs/types/enumerations/ProofTypes.md +36 -14
- package/docs/types/enumerations/Status.md +5 -5
- package/docs/types/enumerations/VASPSearchControl.md +2 -2
- package/docs/types/enumerations/ValidationSections.md +4 -4
- package/docs/types/interfaces/Agent.md +6 -6
- package/docs/types/interfaces/CallbackOptions.md +2 -2
- package/docs/types/interfaces/ComponentRequest.md +2 -2
- package/docs/types/interfaces/ComponentResponse.md +4 -4
- package/docs/types/interfaces/ConnectionRecord.md +7 -7
- package/docs/types/interfaces/ConnectionRequest.md +3 -3
- package/docs/types/interfaces/Counterparty.md +10 -10
- package/docs/types/interfaces/DeclarationProof.md +6 -6
- package/docs/types/interfaces/Deposit.md +25 -11
- package/docs/types/interfaces/DepositRequest.md +7 -7
- package/docs/types/interfaces/DepositRequestOptions.md +1 -1
- package/docs/types/interfaces/DepositTransaction.md +9 -9
- package/docs/types/interfaces/LegalPerson.md +13 -13
- package/docs/types/interfaces/MicroTransferProof.md +9 -9
- package/docs/types/interfaces/NaturalPerson.md +13 -13
- package/docs/types/interfaces/OwnershipProof.md +4 -4
- package/docs/types/interfaces/RefreshSource.md +27 -0
- package/docs/types/interfaces/Refreshable.md +22 -0
- package/docs/types/interfaces/ScreenshotProof.md +5 -5
- package/docs/types/interfaces/SignatureProof.md +23 -9
- package/docs/types/interfaces/ThresholdOptions.md +3 -3
- package/docs/types/interfaces/Transaction.md +8 -8
- package/docs/types/interfaces/TransactionOptions.md +6 -6
- package/docs/types/interfaces/TransactionResponse.md +9 -9
- package/docs/types/interfaces/VASP.md +9 -9
- package/docs/types/interfaces/Wallet.md +8 -8
- package/docs/types/interfaces/Withdrawal.md +24 -10
- package/docs/types/type-aliases/BlockchainAddress.md +1 -1
- package/docs/types/type-aliases/CAIP10.md +1 -1
- package/docs/types/type-aliases/CAIP19.md +1 -1
- package/docs/types/type-aliases/CAIP2.md +1 -1
- package/docs/types/type-aliases/CAIP220.md +1 -1
- package/docs/types/type-aliases/Cancel.md +1 -1
- package/docs/types/type-aliases/Completed.md +1 -1
- package/docs/types/type-aliases/ComponentMessage.md +1 -1
- package/docs/types/type-aliases/ConnectionOptions.md +1 -1
- package/docs/types/type-aliases/CryptoCredential.md +1 -1
- package/docs/types/type-aliases/DID.md +1 -1
- package/docs/types/type-aliases/DTI.md +1 -1
- package/docs/types/type-aliases/Destination.md +1 -1
- package/docs/types/type-aliases/Error.md +1 -1
- package/docs/types/type-aliases/FieldOptions.md +2 -2
- package/docs/types/type-aliases/FieldTypes.md +1 -1
- package/docs/types/type-aliases/HostMessage.md +1 -1
- package/docs/types/type-aliases/ISOCurrency.md +1 -1
- package/docs/types/type-aliases/InvalidValue.md +1 -1
- package/docs/types/type-aliases/LEI.md +1 -1
- package/docs/types/type-aliases/LegalPersonFieldName.md +1 -1
- package/docs/types/type-aliases/LegalPersonFields.md +1 -1
- package/docs/types/type-aliases/NaturalPersonFieldName.md +1 -1
- package/docs/types/type-aliases/NaturalPersonFields.md +1 -1
- package/docs/types/type-aliases/NotabeneAsset.md +1 -1
- package/docs/types/type-aliases/Ready.md +1 -1
- package/docs/types/type-aliases/ResizeRequest.md +1 -1
- package/docs/types/type-aliases/Source.md +1 -1
- package/docs/types/type-aliases/Theme.md +1 -1
- package/docs/types/type-aliases/TransactionAsset.md +1 -1
- package/docs/types/type-aliases/TravelAddress.md +1 -1
- package/docs/types/type-aliases/URI.md +1 -1
- package/docs/types/type-aliases/UUID.md +1 -1
- package/docs/types/type-aliases/UpdateValue.md +1 -1
- package/docs/types/type-aliases/V1Asset.md +1 -1
- package/docs/types/type-aliases/V1Transaction.md +1 -1
- package/docs/types/type-aliases/VASPOptions.md +1 -1
- package/docs/types/type-aliases/ValidationError.md +1 -1
- package/package.json +23 -3
- package/src/notabene.ts +10 -0
- package/src/types.ts +1 -0
- /package/dist/{notabene.cjs → cjs/notabene.cjs} +0 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@notabene/javascript-sdk",
|
|
3
|
+
"type": "commonjs",
|
|
4
|
+
"description": "JavaScript SDK for Notabene",
|
|
5
|
+
"homepage": "https://gitlab.com/notabene/open-source/javascript-sdk",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://gitlab.com/notabene/open-source/javascript-sdk"
|
|
9
|
+
},
|
|
10
|
+
"author": "Notabene <developers@notabene.id>",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"packageManager": "yarn@4.5.1",
|
|
13
|
+
"version": "2.8.0-next.4",
|
|
14
|
+
"source": "src/notabene.ts",
|
|
15
|
+
"main": "dist/cjs/notabene.cjs",
|
|
16
|
+
"module": "dist/esm/notabene.js",
|
|
17
|
+
"types": "dist/notabene.d.ts",
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"types": {
|
|
21
|
+
"import": "./dist/esm/notabene.d.ts",
|
|
22
|
+
"require": "./dist/cjs/notabene.d.ts"
|
|
23
|
+
},
|
|
24
|
+
"import": "./dist/esm/notabene.js",
|
|
25
|
+
"require": "./dist/cjs/notabene.cjs"
|
|
26
|
+
},
|
|
27
|
+
"./src/types": {
|
|
28
|
+
"types": {
|
|
29
|
+
"import": "./dist/esm/notabene.d.ts",
|
|
30
|
+
"require": "./dist/cjs/notabene.d.ts"
|
|
31
|
+
},
|
|
32
|
+
"import": "./dist/esm/notabene.js",
|
|
33
|
+
"require": "./dist/cjs/notabene.cjs"
|
|
34
|
+
},
|
|
35
|
+
"./src/ivms/types": "./src/ivms/types.ts"
|
|
36
|
+
},
|
|
37
|
+
"browserslist": "> 0.5%, last 2 versions, not dead",
|
|
38
|
+
"publishConfig": {
|
|
39
|
+
"access": "public"
|
|
40
|
+
},
|
|
41
|
+
"files": [
|
|
42
|
+
"dist",
|
|
43
|
+
"docs",
|
|
44
|
+
"src",
|
|
45
|
+
"package.json",
|
|
46
|
+
"README.md"
|
|
47
|
+
],
|
|
48
|
+
"scripts": {
|
|
49
|
+
"docs": "typedoc --options typedoc.json",
|
|
50
|
+
"prepare": "husky",
|
|
51
|
+
"dev": "vite",
|
|
52
|
+
"preview": "vite preview",
|
|
53
|
+
"build:dev": "yarn build && yarn dev",
|
|
54
|
+
"build:clean": "rimraf dist ts-out coverage temp",
|
|
55
|
+
"build": "vite build && yarn typecheck && api-extractor run --local && node scripts/copy-types.mjs && yarn docs",
|
|
56
|
+
"lint": "eslint . --max-warnings 0",
|
|
57
|
+
"lint:fix": "yarn lint --fix --cache --no-warn-ignored",
|
|
58
|
+
"format": "prettier --write --cache .",
|
|
59
|
+
"format:check": "prettier --check .",
|
|
60
|
+
"test": "vitest",
|
|
61
|
+
"typecheck": "tsc --skipLibCheck",
|
|
62
|
+
"coverage": "vitest run --coverage --coverage.extension=.ts",
|
|
63
|
+
"release": "semantic-release"
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@commitlint/cli": "^19.5.0",
|
|
67
|
+
"@commitlint/config-conventional": "^19.5.0",
|
|
68
|
+
"@eslint/js": "^9.13.0",
|
|
69
|
+
"@fast-check/vitest": "^0.1.4",
|
|
70
|
+
"@microsoft/api-extractor": "^7.48.1",
|
|
71
|
+
"@semantic-release/git": "^10.0.1",
|
|
72
|
+
"@semantic-release/gitlab": "^13.2.1",
|
|
73
|
+
"@semantic-release/npm": "^12.0.1",
|
|
74
|
+
"@vitest/coverage-v8": "^2.1.8",
|
|
75
|
+
"eslint": "^9.14.0",
|
|
76
|
+
"eslint-config-prettier": "^9.1.0",
|
|
77
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
78
|
+
"fast-check": "^3.23.1",
|
|
79
|
+
"globals": "^15.11.0",
|
|
80
|
+
"husky": "^9.1.6",
|
|
81
|
+
"jsdom": "^25.0.1",
|
|
82
|
+
"lint-staged": "^15.2.10",
|
|
83
|
+
"prettier": "^3.3.3",
|
|
84
|
+
"prettier-plugin-organize-imports": "^4.1.0",
|
|
85
|
+
"rimraf": "^6.0.1",
|
|
86
|
+
"semantic-release": "^24.2.0",
|
|
87
|
+
"typedoc": "^0.27.5",
|
|
88
|
+
"typedoc-plugin-markdown": "^4.2.10",
|
|
89
|
+
"typescript": "^5.7.2",
|
|
90
|
+
"typescript-eslint": "^8.12.2",
|
|
91
|
+
"vite": "^5.4.10",
|
|
92
|
+
"vitest": "^2.1.8"
|
|
93
|
+
},
|
|
94
|
+
"lint-staged": {
|
|
95
|
+
"*.ts": [
|
|
96
|
+
"yarn format:check",
|
|
97
|
+
"yarn lint:fix",
|
|
98
|
+
"yarn typecheck --noEmit",
|
|
99
|
+
"yarn test --run"
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
"commitlint": {
|
|
103
|
+
"extends": [
|
|
104
|
+
"@commitlint/config-conventional"
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
}
|