@criipto/signatures 1.27.0 → 1.27.1

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.
@@ -45,6 +45,9 @@ export declare class SignatoryViewerClient {
45
45
  approveDocument(input: {
46
46
  documentId: string;
47
47
  }): Promise<void>;
48
+ rejectSignatureOrder(input: {
49
+ reason?: string;
50
+ }): Promise<void>;
48
51
  viewer(): Promise<{
49
52
  __typename: "AnonymousViewer";
50
53
  authenticated: boolean;
@@ -90,6 +90,14 @@ class SignatoryViewerClient {
90
90
  },
91
91
  });
92
92
  }
93
+ async rejectSignatureOrder(input) {
94
+ await this.sdk.rejectSignatureOrder({
95
+ input: {
96
+ dummy: true,
97
+ reason: input.reason,
98
+ },
99
+ });
100
+ }
93
101
  async viewer() {
94
102
  const response = await this.sdk.viewer();
95
103
  return response.viewer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@criipto/signatures",
3
- "version": "1.27.0",
3
+ "version": "1.27.1",
4
4
  "private": false,
5
5
  "description": "A Node.JS SDK for Criipto Signatures",
6
6
  "main": "dist/index.js",