@criipto/signatures 1.1.0 → 1.1.3
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/README.md +5 -3
- package/package.json +3 -2
- package/dist/graphql-sdk.d.ts +0 -1585
- package/dist/graphql-sdk.js +0 -224
- package/dist/index.d.ts +0 -470
- package/dist/index.js +0 -123
- package/dist/json-serializer.d.ts +0 -3
- package/dist/json-serializer.js +0 -58
package/README.md
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
# criipto
|
|
1
|
+
# @criipto/signatures
|
|
2
2
|
|
|
3
3
|
A Node.js SDK for Criipto Signatures
|
|
4
4
|
|
|
5
|
+
Sign PAdeS-LTA documents using MitID, BankID or any other eID supported by Criipto.
|
|
6
|
+
|
|
5
7
|
[Examples](https://docs.criipto.com/signatures/graphql/examples/)
|
|
6
8
|
|
|
7
9
|
## Getting started
|
|
@@ -12,7 +14,7 @@ This library supports Node 16 and later.
|
|
|
12
14
|
|
|
13
15
|
### Installation
|
|
14
16
|
|
|
15
|
-
The SDK is available on [NPM](https://npmjs.com/package/@criipto/
|
|
17
|
+
The SDK is available on [NPM](https://npmjs.com/package/@criipto/signatures):
|
|
16
18
|
|
|
17
19
|
```
|
|
18
20
|
npm install --save @criipto/signatures
|
|
@@ -39,7 +41,7 @@ const signatureOrder = await client.createSignatureOrder({
|
|
|
39
41
|
{
|
|
40
42
|
pdf: {
|
|
41
43
|
title: "Node.js Sample",
|
|
42
|
-
blob: pdf
|
|
44
|
+
blob: pdf // Buffer
|
|
43
45
|
storageMode: 'Temporary'
|
|
44
46
|
}
|
|
45
47
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@criipto/signatures",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A Node.js SDK for Criipto Signatures",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -45,7 +45,8 @@
|
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"graphql": "^16.6.0",
|
|
48
|
-
"graphql-request": "^4.0.0"
|
|
48
|
+
"graphql-request": "^4.0.0",
|
|
49
|
+
"graphql-tag": "^2.12.6"
|
|
49
50
|
},
|
|
50
51
|
"ava": {
|
|
51
52
|
"typescript": {
|