capacitor-microblink 0.0.1 → 0.3.0
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/CapacitorMicroblink.podspec +1 -0
- package/LICENSE +21 -0
- package/Package.swift +3 -2
- package/README.md +65 -42
- package/android/build.gradle +10 -1
- package/android/src/main/java/com/otto/microblink/BlinkCardInitBridge.kt +29 -0
- package/android/src/main/java/com/otto/microblink/MicroblinkPlugin.java +174 -163
- package/dist/docs.json +126 -78
- package/dist/esm/definitions.d.ts +36 -24
- package/dist/esm/definitions.js.map +1 -1
- package/dist/esm/web.d.ts +3 -2
- package/dist/esm/web.js +5 -2
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.cjs.js +5 -2
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +5 -2
- package/dist/plugin.js.map +1 -1
- package/ios/Sources/MicroblinkPlugin/MicroblinkPlugin.swift +171 -123
- package/package.json +2 -2
package/dist/docs.json
CHANGED
|
@@ -6,31 +6,50 @@
|
|
|
6
6
|
"tags": [],
|
|
7
7
|
"methods": [
|
|
8
8
|
{
|
|
9
|
-
"name": "
|
|
10
|
-
"signature": "(options:
|
|
9
|
+
"name": "scanCard",
|
|
10
|
+
"signature": "(options: ScanCardOptions) => Promise<ScanCardResult>",
|
|
11
11
|
"parameters": [
|
|
12
12
|
{
|
|
13
13
|
"name": "options",
|
|
14
14
|
"docs": "",
|
|
15
|
-
"type": "
|
|
15
|
+
"type": "ScanCardOptions"
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
|
-
"returns": "Promise<
|
|
18
|
+
"returns": "Promise<ScanCardResult>",
|
|
19
19
|
"tags": [],
|
|
20
|
-
"docs": "Starts
|
|
20
|
+
"docs": "Starts BlinkCard card scanning flow.",
|
|
21
21
|
"complexTypes": [
|
|
22
|
-
"
|
|
23
|
-
"
|
|
22
|
+
"ScanCardResult",
|
|
23
|
+
"ScanCardOptions"
|
|
24
24
|
],
|
|
25
|
-
"slug": "
|
|
25
|
+
"slug": "scancard"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "initializeBlinkCard",
|
|
29
|
+
"signature": "(options: InitializeBlinkCardOptions) => Promise<InitializeBlinkCardResult>",
|
|
30
|
+
"parameters": [
|
|
31
|
+
{
|
|
32
|
+
"name": "options",
|
|
33
|
+
"docs": "",
|
|
34
|
+
"type": "InitializeBlinkCardOptions"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"returns": "Promise<InitializeBlinkCardResult>",
|
|
38
|
+
"tags": [],
|
|
39
|
+
"docs": "Initializes BlinkCard SDK/license before scanning.",
|
|
40
|
+
"complexTypes": [
|
|
41
|
+
"InitializeBlinkCardResult",
|
|
42
|
+
"InitializeBlinkCardOptions"
|
|
43
|
+
],
|
|
44
|
+
"slug": "initializeblinkcard"
|
|
26
45
|
}
|
|
27
46
|
],
|
|
28
47
|
"properties": []
|
|
29
48
|
},
|
|
30
49
|
"interfaces": [
|
|
31
50
|
{
|
|
32
|
-
"name": "
|
|
33
|
-
"slug": "
|
|
51
|
+
"name": "ScanCardResult",
|
|
52
|
+
"slug": "scancardresult",
|
|
34
53
|
"docs": "",
|
|
35
54
|
"tags": [],
|
|
36
55
|
"methods": [],
|
|
@@ -43,155 +62,199 @@
|
|
|
43
62
|
"type": "boolean"
|
|
44
63
|
},
|
|
45
64
|
{
|
|
46
|
-
"name": "
|
|
65
|
+
"name": "resultState",
|
|
47
66
|
"tags": [],
|
|
48
67
|
"docs": "",
|
|
49
68
|
"complexTypes": [],
|
|
50
|
-
"type": "
|
|
69
|
+
"type": "'empty' | 'uncertain' | 'valid' | 'stageValid' | undefined"
|
|
51
70
|
},
|
|
52
71
|
{
|
|
53
|
-
"name": "
|
|
72
|
+
"name": "processingStatus",
|
|
54
73
|
"tags": [],
|
|
55
74
|
"docs": "",
|
|
56
75
|
"complexTypes": [],
|
|
57
|
-
"type": "'
|
|
76
|
+
"type": "'success' | 'detectionFailed' | 'imagePreprocessingFailed' | 'stabilityTestFailed' | 'scanningWrongSide' | 'fieldIdentificationFailed' | 'imageReturnFailed' | 'unsupportedCard' | undefined"
|
|
58
77
|
},
|
|
59
78
|
{
|
|
60
|
-
"name": "
|
|
79
|
+
"name": "cardNumber",
|
|
61
80
|
"tags": [],
|
|
62
81
|
"docs": "",
|
|
63
82
|
"complexTypes": [],
|
|
64
|
-
"type": "
|
|
83
|
+
"type": "string | undefined"
|
|
65
84
|
},
|
|
66
85
|
{
|
|
67
|
-
"name": "
|
|
86
|
+
"name": "cardNumberValid",
|
|
87
|
+
"tags": [],
|
|
88
|
+
"docs": "",
|
|
89
|
+
"complexTypes": [],
|
|
90
|
+
"type": "boolean | undefined"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "cardNumberPrefix",
|
|
94
|
+
"tags": [],
|
|
95
|
+
"docs": "",
|
|
96
|
+
"complexTypes": [],
|
|
97
|
+
"type": "string | undefined"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "owner",
|
|
101
|
+
"tags": [],
|
|
102
|
+
"docs": "",
|
|
103
|
+
"complexTypes": [],
|
|
104
|
+
"type": "string | undefined"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "cvv",
|
|
108
|
+
"tags": [],
|
|
109
|
+
"docs": "",
|
|
110
|
+
"complexTypes": [],
|
|
111
|
+
"type": "string | undefined"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "iban",
|
|
115
|
+
"tags": [],
|
|
116
|
+
"docs": "",
|
|
117
|
+
"complexTypes": [],
|
|
118
|
+
"type": "string | undefined"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "expiryDate",
|
|
68
122
|
"tags": [],
|
|
69
123
|
"docs": "",
|
|
70
124
|
"complexTypes": [
|
|
71
|
-
"
|
|
125
|
+
"BlinkCardDate"
|
|
72
126
|
],
|
|
73
|
-
"type": "
|
|
127
|
+
"type": "BlinkCardDate | null | undefined"
|
|
74
128
|
}
|
|
75
129
|
]
|
|
76
130
|
},
|
|
77
131
|
{
|
|
78
|
-
"name": "
|
|
79
|
-
"slug": "
|
|
132
|
+
"name": "BlinkCardDate",
|
|
133
|
+
"slug": "blinkcarddate",
|
|
80
134
|
"docs": "",
|
|
81
135
|
"tags": [],
|
|
82
136
|
"methods": [],
|
|
83
137
|
"properties": [
|
|
84
138
|
{
|
|
85
|
-
"name": "
|
|
139
|
+
"name": "day",
|
|
86
140
|
"tags": [],
|
|
87
141
|
"docs": "",
|
|
88
142
|
"complexTypes": [],
|
|
89
|
-
"type": "
|
|
143
|
+
"type": "number"
|
|
90
144
|
},
|
|
91
145
|
{
|
|
92
|
-
"name": "
|
|
146
|
+
"name": "month",
|
|
93
147
|
"tags": [],
|
|
94
148
|
"docs": "",
|
|
95
149
|
"complexTypes": [],
|
|
96
|
-
"type": "
|
|
150
|
+
"type": "number"
|
|
97
151
|
},
|
|
98
152
|
{
|
|
99
|
-
"name": "
|
|
153
|
+
"name": "year",
|
|
100
154
|
"tags": [],
|
|
101
155
|
"docs": "",
|
|
102
156
|
"complexTypes": [],
|
|
103
|
-
"type": "
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"name": "cvv",
|
|
107
|
-
"tags": [],
|
|
108
|
-
"docs": "",
|
|
109
|
-
"complexTypes": [],
|
|
110
|
-
"type": "string"
|
|
157
|
+
"type": "number"
|
|
111
158
|
}
|
|
112
159
|
]
|
|
113
160
|
},
|
|
114
161
|
{
|
|
115
|
-
"name": "
|
|
116
|
-
"slug": "
|
|
162
|
+
"name": "ScanCardOptions",
|
|
163
|
+
"slug": "scancardoptions",
|
|
117
164
|
"docs": "",
|
|
118
165
|
"tags": [],
|
|
119
166
|
"methods": [],
|
|
120
167
|
"properties": [
|
|
121
168
|
{
|
|
122
|
-
"name": "
|
|
169
|
+
"name": "licenseKey",
|
|
123
170
|
"tags": [],
|
|
124
171
|
"docs": "",
|
|
125
172
|
"complexTypes": [],
|
|
126
|
-
"type": "string"
|
|
173
|
+
"type": "string | undefined"
|
|
127
174
|
},
|
|
128
175
|
{
|
|
129
|
-
"name": "
|
|
176
|
+
"name": "licensee",
|
|
130
177
|
"tags": [],
|
|
131
178
|
"docs": "",
|
|
132
179
|
"complexTypes": [],
|
|
133
|
-
"type": "string"
|
|
180
|
+
"type": "string | undefined"
|
|
134
181
|
},
|
|
135
182
|
{
|
|
136
|
-
"name": "
|
|
183
|
+
"name": "extractOwner",
|
|
137
184
|
"tags": [],
|
|
138
185
|
"docs": "",
|
|
139
186
|
"complexTypes": [],
|
|
140
|
-
"type": "
|
|
187
|
+
"type": "boolean | undefined"
|
|
141
188
|
},
|
|
142
189
|
{
|
|
143
|
-
"name": "
|
|
190
|
+
"name": "extractExpiryDate",
|
|
144
191
|
"tags": [],
|
|
145
192
|
"docs": "",
|
|
146
193
|
"complexTypes": [],
|
|
147
|
-
"type": "boolean"
|
|
194
|
+
"type": "boolean | undefined"
|
|
148
195
|
},
|
|
149
196
|
{
|
|
150
|
-
"name": "
|
|
197
|
+
"name": "extractCvv",
|
|
151
198
|
"tags": [],
|
|
152
199
|
"docs": "",
|
|
153
200
|
"complexTypes": [],
|
|
154
|
-
"type": "boolean"
|
|
201
|
+
"type": "boolean | undefined"
|
|
155
202
|
},
|
|
156
203
|
{
|
|
157
|
-
"name": "
|
|
204
|
+
"name": "extractIban",
|
|
158
205
|
"tags": [],
|
|
159
206
|
"docs": "",
|
|
160
207
|
"complexTypes": [],
|
|
161
|
-
"type": "
|
|
208
|
+
"type": "boolean | undefined"
|
|
162
209
|
},
|
|
163
210
|
{
|
|
164
|
-
"name": "
|
|
211
|
+
"name": "allowInvalidCardNumber",
|
|
165
212
|
"tags": [],
|
|
166
213
|
"docs": "",
|
|
167
214
|
"complexTypes": [],
|
|
168
|
-
"type": "
|
|
215
|
+
"type": "boolean | undefined"
|
|
169
216
|
},
|
|
170
217
|
{
|
|
171
|
-
"name": "
|
|
218
|
+
"name": "enableEditScreen",
|
|
172
219
|
"tags": [],
|
|
173
220
|
"docs": "",
|
|
174
|
-
"complexTypes": [
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
221
|
+
"complexTypes": [],
|
|
222
|
+
"type": "boolean | undefined"
|
|
223
|
+
}
|
|
224
|
+
]
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "InitializeBlinkCardResult",
|
|
228
|
+
"slug": "initializeblinkcardresult",
|
|
229
|
+
"docs": "",
|
|
230
|
+
"tags": [],
|
|
231
|
+
"methods": [],
|
|
232
|
+
"properties": [
|
|
179
233
|
{
|
|
180
|
-
"name": "
|
|
234
|
+
"name": "initialized",
|
|
181
235
|
"tags": [],
|
|
182
236
|
"docs": "",
|
|
183
237
|
"complexTypes": [],
|
|
184
|
-
"type": "
|
|
185
|
-
}
|
|
238
|
+
"type": "boolean"
|
|
239
|
+
}
|
|
240
|
+
]
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "InitializeBlinkCardOptions",
|
|
244
|
+
"slug": "initializeblinkcardoptions",
|
|
245
|
+
"docs": "",
|
|
246
|
+
"tags": [],
|
|
247
|
+
"methods": [],
|
|
248
|
+
"properties": [
|
|
186
249
|
{
|
|
187
|
-
"name": "
|
|
250
|
+
"name": "licenseKey",
|
|
188
251
|
"tags": [],
|
|
189
252
|
"docs": "",
|
|
190
253
|
"complexTypes": [],
|
|
191
|
-
"type": "string
|
|
254
|
+
"type": "string"
|
|
192
255
|
},
|
|
193
256
|
{
|
|
194
|
-
"name": "
|
|
257
|
+
"name": "licensee",
|
|
195
258
|
"tags": [],
|
|
196
259
|
"docs": "",
|
|
197
260
|
"complexTypes": [],
|
|
@@ -201,21 +264,6 @@
|
|
|
201
264
|
}
|
|
202
265
|
],
|
|
203
266
|
"enums": [],
|
|
204
|
-
"typeAliases": [
|
|
205
|
-
{
|
|
206
|
-
"name": "Record",
|
|
207
|
-
"slug": "record",
|
|
208
|
-
"docs": "Construct a type with a set of properties K of type T",
|
|
209
|
-
"types": [
|
|
210
|
-
{
|
|
211
|
-
"text": "{\r\n [P in K]: T;\r\n}",
|
|
212
|
-
"complexTypes": [
|
|
213
|
-
"K",
|
|
214
|
-
"T"
|
|
215
|
-
]
|
|
216
|
-
}
|
|
217
|
-
]
|
|
218
|
-
}
|
|
219
|
-
],
|
|
267
|
+
"typeAliases": [],
|
|
220
268
|
"pluginConfigs": []
|
|
221
269
|
}
|
|
@@ -1,32 +1,44 @@
|
|
|
1
|
-
export interface
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
isProcessingStoringAllowed: boolean;
|
|
6
|
-
isTrainingAllowed: boolean;
|
|
7
|
-
note?: string;
|
|
8
|
-
givenOn?: number;
|
|
9
|
-
additionalRequestHeaders?: Record<string, string>;
|
|
10
|
-
startTransactionPath?: string;
|
|
11
|
-
cancelWorkflowPath?: string;
|
|
12
|
-
workflowInfoPath?: string;
|
|
1
|
+
export interface BlinkCardDate {
|
|
2
|
+
day: number;
|
|
3
|
+
month: number;
|
|
4
|
+
year: number;
|
|
13
5
|
}
|
|
14
|
-
export interface
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
export interface ScanCardOptions {
|
|
7
|
+
licenseKey?: string;
|
|
8
|
+
licensee?: string;
|
|
9
|
+
extractOwner?: boolean;
|
|
10
|
+
extractExpiryDate?: boolean;
|
|
11
|
+
extractCvv?: boolean;
|
|
12
|
+
extractIban?: boolean;
|
|
13
|
+
allowInvalidCardNumber?: boolean;
|
|
14
|
+
enableEditScreen?: boolean;
|
|
19
15
|
}
|
|
20
|
-
export interface
|
|
16
|
+
export interface InitializeBlinkCardOptions {
|
|
17
|
+
licenseKey: string;
|
|
18
|
+
licensee?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface InitializeBlinkCardResult {
|
|
21
|
+
initialized: boolean;
|
|
22
|
+
}
|
|
23
|
+
export interface ScanCardResult {
|
|
21
24
|
canceled: boolean;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
resultState?: 'empty' | 'uncertain' | 'valid' | 'stageValid';
|
|
26
|
+
processingStatus?: 'success' | 'detectionFailed' | 'imagePreprocessingFailed' | 'stabilityTestFailed' | 'scanningWrongSide' | 'fieldIdentificationFailed' | 'imageReturnFailed' | 'unsupportedCard';
|
|
27
|
+
cardNumber?: string;
|
|
28
|
+
cardNumberValid?: boolean;
|
|
29
|
+
cardNumberPrefix?: string;
|
|
30
|
+
owner?: string;
|
|
31
|
+
cvv?: string;
|
|
32
|
+
iban?: string;
|
|
33
|
+
expiryDate?: BlinkCardDate | null;
|
|
26
34
|
}
|
|
27
35
|
export interface MicroblinkPlugin {
|
|
28
36
|
/**
|
|
29
|
-
* Starts
|
|
37
|
+
* Starts BlinkCard card scanning flow.
|
|
38
|
+
*/
|
|
39
|
+
scanCard(options: ScanCardOptions): Promise<ScanCardResult>;
|
|
40
|
+
/**
|
|
41
|
+
* Initializes BlinkCard SDK/license before scanning.
|
|
30
42
|
*/
|
|
31
|
-
|
|
43
|
+
initializeBlinkCard(options: InitializeBlinkCardOptions): Promise<InitializeBlinkCardResult>;
|
|
32
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/definitions.ts"],"names":[],"mappings":"","sourcesContent":["export interface
|
|
1
|
+
{"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/definitions.ts"],"names":[],"mappings":"","sourcesContent":["export interface BlinkCardDate {\n day: number;\n month: number;\n year: number;\n}\n\nexport interface ScanCardOptions {\n licenseKey?: string;\n licensee?: string;\n extractOwner?: boolean;\n extractExpiryDate?: boolean;\n extractCvv?: boolean;\n extractIban?: boolean;\n allowInvalidCardNumber?: boolean;\n enableEditScreen?: boolean;\n}\n\nexport interface InitializeBlinkCardOptions {\n licenseKey: string;\n licensee?: string;\n}\n\nexport interface InitializeBlinkCardResult {\n initialized: boolean;\n}\n\nexport interface ScanCardResult {\n canceled: boolean;\n resultState?: 'empty' | 'uncertain' | 'valid' | 'stageValid';\n processingStatus?:\n | 'success'\n | 'detectionFailed'\n | 'imagePreprocessingFailed'\n | 'stabilityTestFailed'\n | 'scanningWrongSide'\n | 'fieldIdentificationFailed'\n | 'imageReturnFailed'\n | 'unsupportedCard';\n cardNumber?: string;\n cardNumberValid?: boolean;\n cardNumberPrefix?: string;\n owner?: string;\n cvv?: string;\n iban?: string;\n expiryDate?: BlinkCardDate | null;\n}\n\nexport interface MicroblinkPlugin {\n /**\n * Starts BlinkCard card scanning flow.\n */\n scanCard(options: ScanCardOptions): Promise<ScanCardResult>;\n\n /**\n * Initializes BlinkCard SDK/license before scanning.\n */\n initializeBlinkCard(\n options: InitializeBlinkCardOptions,\n ): Promise<InitializeBlinkCardResult>;\n}\n"]}
|
package/dist/esm/web.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { WebPlugin } from '@capacitor/core';
|
|
2
|
-
import type { MicroblinkPlugin,
|
|
2
|
+
import type { InitializeBlinkCardOptions, InitializeBlinkCardResult, MicroblinkPlugin, ScanCardOptions, ScanCardResult } from './definitions';
|
|
3
3
|
export declare class MicroblinkWeb extends WebPlugin implements MicroblinkPlugin {
|
|
4
|
-
|
|
4
|
+
scanCard(_options: ScanCardOptions): Promise<ScanCardResult>;
|
|
5
|
+
initializeBlinkCard(_options: InitializeBlinkCardOptions): Promise<InitializeBlinkCardResult>;
|
|
5
6
|
}
|
package/dist/esm/web.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { WebPlugin } from '@capacitor/core';
|
|
2
2
|
export class MicroblinkWeb extends WebPlugin {
|
|
3
|
-
async
|
|
4
|
-
throw this.unimplemented('
|
|
3
|
+
async scanCard(_options) {
|
|
4
|
+
throw this.unimplemented('BlinkCard is only available on Android and iOS.');
|
|
5
|
+
}
|
|
6
|
+
async initializeBlinkCard(_options) {
|
|
7
|
+
throw this.unimplemented('BlinkCard is only available on Android and iOS.');
|
|
5
8
|
}
|
|
6
9
|
}
|
|
7
10
|
//# sourceMappingURL=web.js.map
|
package/dist/esm/web.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAU5C,MAAM,OAAO,aAAc,SAAQ,SAAS;IAC1C,KAAK,CAAC,QAAQ,CAAC,QAAyB;QACtC,MAAM,IAAI,CAAC,aAAa,CAAC,iDAAiD,CAAC,CAAC;IAC9E,CAAC;IAED,KAAK,CAAC,mBAAmB,CACvB,QAAoC;QAEpC,MAAM,IAAI,CAAC,aAAa,CAAC,iDAAiD,CAAC,CAAC;IAC9E,CAAC;CACF","sourcesContent":["import { WebPlugin } from '@capacitor/core';\n\nimport type {\n InitializeBlinkCardOptions,\n InitializeBlinkCardResult,\n MicroblinkPlugin,\n ScanCardOptions,\n ScanCardResult,\n} from './definitions';\n\nexport class MicroblinkWeb extends WebPlugin implements MicroblinkPlugin {\n async scanCard(_options: ScanCardOptions): Promise<ScanCardResult> {\n throw this.unimplemented('BlinkCard is only available on Android and iOS.');\n }\n\n async initializeBlinkCard(\n _options: InitializeBlinkCardOptions,\n ): Promise<InitializeBlinkCardResult> {\n throw this.unimplemented('BlinkCard is only available on Android and iOS.');\n }\n}\n"]}
|
package/dist/plugin.cjs.js
CHANGED
|
@@ -7,8 +7,11 @@ const Microblink = core.registerPlugin('Microblink', {
|
|
|
7
7
|
});
|
|
8
8
|
|
|
9
9
|
class MicroblinkWeb extends core.WebPlugin {
|
|
10
|
-
async
|
|
11
|
-
throw this.unimplemented('
|
|
10
|
+
async scanCard(_options) {
|
|
11
|
+
throw this.unimplemented('BlinkCard is only available on Android and iOS.');
|
|
12
|
+
}
|
|
13
|
+
async initializeBlinkCard(_options) {
|
|
14
|
+
throw this.unimplemented('BlinkCard is only available on Android and iOS.');
|
|
12
15
|
}
|
|
13
16
|
}
|
|
14
17
|
|
package/dist/plugin.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.cjs.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst Microblink = registerPlugin('Microblink', {\n web: () => import('./web').then((m) => new m.MicroblinkWeb()),\n});\nexport * from './definitions';\nexport { Microblink };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class MicroblinkWeb extends WebPlugin {\n async
|
|
1
|
+
{"version":3,"file":"plugin.cjs.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst Microblink = registerPlugin('Microblink', {\n web: () => import('./web').then((m) => new m.MicroblinkWeb()),\n});\nexport * from './definitions';\nexport { Microblink };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class MicroblinkWeb extends WebPlugin {\n async scanCard(_options) {\n throw this.unimplemented('BlinkCard is only available on Android and iOS.');\n }\n async initializeBlinkCard(_options) {\n throw this.unimplemented('BlinkCard is only available on Android and iOS.');\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;;AACK,MAAC,UAAU,GAAGA,mBAAc,CAAC,YAAY,EAAE;AAChD,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,aAAa,EAAE,CAAC;AACjE,CAAC;;ACFM,MAAM,aAAa,SAASC,cAAS,CAAC;AAC7C,IAAI,MAAM,QAAQ,CAAC,QAAQ,EAAE;AAC7B,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,iDAAiD,CAAC;AACnF,IAAI;AACJ,IAAI,MAAM,mBAAmB,CAAC,QAAQ,EAAE;AACxC,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,iDAAiD,CAAC;AACnF,IAAI;AACJ;;;;;;;;;"}
|
package/dist/plugin.js
CHANGED
|
@@ -6,8 +6,11 @@ var capacitorMicroblink = (function (exports, core) {
|
|
|
6
6
|
});
|
|
7
7
|
|
|
8
8
|
class MicroblinkWeb extends core.WebPlugin {
|
|
9
|
-
async
|
|
10
|
-
throw this.unimplemented('
|
|
9
|
+
async scanCard(_options) {
|
|
10
|
+
throw this.unimplemented('BlinkCard is only available on Android and iOS.');
|
|
11
|
+
}
|
|
12
|
+
async initializeBlinkCard(_options) {
|
|
13
|
+
throw this.unimplemented('BlinkCard is only available on Android and iOS.');
|
|
11
14
|
}
|
|
12
15
|
}
|
|
13
16
|
|
package/dist/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst Microblink = registerPlugin('Microblink', {\n web: () => import('./web').then((m) => new m.MicroblinkWeb()),\n});\nexport * from './definitions';\nexport { Microblink };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class MicroblinkWeb extends WebPlugin {\n async
|
|
1
|
+
{"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst Microblink = registerPlugin('Microblink', {\n web: () => import('./web').then((m) => new m.MicroblinkWeb()),\n});\nexport * from './definitions';\nexport { Microblink };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class MicroblinkWeb extends WebPlugin {\n async scanCard(_options) {\n throw this.unimplemented('BlinkCard is only available on Android and iOS.');\n }\n async initializeBlinkCard(_options) {\n throw this.unimplemented('BlinkCard is only available on Android and iOS.');\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;AACK,UAAC,UAAU,GAAGA,mBAAc,CAAC,YAAY,EAAE;IAChD,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,aAAa,EAAE,CAAC;IACjE,CAAC;;ICFM,MAAM,aAAa,SAASC,cAAS,CAAC;IAC7C,IAAI,MAAM,QAAQ,CAAC,QAAQ,EAAE;IAC7B,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,iDAAiD,CAAC;IACnF,IAAI;IACJ,IAAI,MAAM,mBAAmB,CAAC,QAAQ,EAAE;IACxC,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,iDAAiD,CAAC;IACnF,IAAI;IACJ;;;;;;;;;;;;;;;"}
|