@limboai/verifox-sdk-issuer 0.0.2 → 0.0.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/gen/grpc/verifox/signer/v1/signer_pb.d.ts +5 -0
- package/gen/grpc/verifox/signer/v1/signer_pb.js +1 -1
- package/gen/napi/index.d.ts +8 -1
- package/gen/napi/index.js +52 -52
- package/gen/wasm/verifox_sdk_issuer_bg.js +16 -16
- package/gen/wasm/verifox_sdk_issuer_bg.wasm +0 -0
- package/package.json +5 -5
- package/types/asset.d.ts +8 -0
|
@@ -154,6 +154,11 @@ export declare type BeginSignRequest_Ingredient = Message<"verifox.signer.v1.Beg
|
|
|
154
154
|
* @generated from field: bytes descriptor = 2;
|
|
155
155
|
*/
|
|
156
156
|
descriptor: Uint8Array;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* @generated from field: optional verifox.signer.v1.BeginSignRequest.Thumbnail thumbnail = 3;
|
|
160
|
+
*/
|
|
161
|
+
thumbnail?: BeginSignRequest_Thumbnail | undefined;
|
|
157
162
|
};
|
|
158
163
|
|
|
159
164
|
/**
|
|
@@ -8,7 +8,7 @@ import { enumDesc, fileDesc, messageDesc, serviceDesc, tsEnum } from "@bufbuild/
|
|
|
8
8
|
* Describes the file verifox/signer/v1/signer.proto.
|
|
9
9
|
*/
|
|
10
10
|
export const file_verifox_signer_v1_signer = /*@__PURE__*/
|
|
11
|
-
fileDesc("
|
|
11
|
+
fileDesc("Ch52ZXJpZm94L3NpZ25lci92MS9zaWduZXIucHJvdG8SEXZlcmlmb3guc2lnbmVyLnYxIg0KC0luZm9SZXF1ZXN0IlEKDEluZm9SZXNwb25zZRILCgNhbGcYASABKAkSDwoHdHNhX3VybBgCIAEoCRIUCgxyZXNlcnZlX3NpemUYAyABKA0SDQoFY2VydHMYBCADKAwi/wUKEEJlZ2luU2lnblJlcXVlc3QSDgoGZm9ybWF0GAEgASgJEjwKB3N0b3JhZ2UYAiABKA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aWduZXJTZXJ2aWNlEkcKBEluZm8SHi52ZXJpZm94LnNpZ25lci52MS5JbmZvUmVxdWVzdBofLnZlcmlmb3guc2lnbmVyLnYxLkluZm9SZXNwb25zZRJWCglCZWdpblNpZ24SIy52ZXJpZm94LnNpZ25lci52MS5CZWdpblNpZ25SZXF1ZXN0GiQudmVyaWZveC5zaWduZXIudjEuQmVnaW5TaWduUmVzcG9uc2USWQoKU3VibWl0SGFzaBIkLnZlcmlmb3guc2lnbmVyLnYxLlN1Ym1pdEhhc2hSZXF1ZXN0GiUudmVyaWZveC5zaWduZXIudjEuU3VibWl0SGFzaFJlc3BvbnNlYgZwcm90bzM");
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Describes the message verifox.signer.v1.InfoRequest.
|
package/gen/napi/index.d.ts
CHANGED
|
@@ -80,12 +80,19 @@ export interface IdentityOptions {
|
|
|
80
80
|
*/
|
|
81
81
|
export interface Ingredient {
|
|
82
82
|
data: Buffer
|
|
83
|
-
relationship?: Relationship
|
|
84
83
|
/**
|
|
85
84
|
* Explicit container MIME for assets `infer` can't sniff (e.g.
|
|
86
85
|
* `application/mxf`). When `None`, the format is inferred from `data`.
|
|
87
86
|
*/
|
|
88
87
|
format?: string
|
|
88
|
+
/**
|
|
89
|
+
* Pre-rendered thumbnail of this ingredient, attached as the ingredient's
|
|
90
|
+
* `c2pa.thumbnail.ingredient` resource. Like the claim thumbnail, the
|
|
91
|
+
* split-signer has no asset bytes to render one server-side, so studios
|
|
92
|
+
* supply their own; verifiers show it as the ingredient's preview tile.
|
|
93
|
+
*/
|
|
94
|
+
thumbnail?: Thumbnail
|
|
95
|
+
relationship?: Relationship
|
|
89
96
|
}
|
|
90
97
|
|
|
91
98
|
/**
|
package/gen/napi/index.js
CHANGED
|
@@ -81,8 +81,8 @@ function requireNative() {
|
|
|
81
81
|
try {
|
|
82
82
|
const binding = require('@limboai/verifox-sdk-issuer-android-arm64')
|
|
83
83
|
const bindingPackageVersion = require('@limboai/verifox-sdk-issuer-android-arm64/package.json').version
|
|
84
|
-
if (bindingPackageVersion !== '0.0.
|
|
85
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
84
|
+
if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
85
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
86
86
|
}
|
|
87
87
|
return binding
|
|
88
88
|
} catch (e) {
|
|
@@ -97,8 +97,8 @@ function requireNative() {
|
|
|
97
97
|
try {
|
|
98
98
|
const binding = require('@limboai/verifox-sdk-issuer-android-arm-eabi')
|
|
99
99
|
const bindingPackageVersion = require('@limboai/verifox-sdk-issuer-android-arm-eabi/package.json').version
|
|
100
|
-
if (bindingPackageVersion !== '0.0.
|
|
101
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
100
|
+
if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
101
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
102
102
|
}
|
|
103
103
|
return binding
|
|
104
104
|
} catch (e) {
|
|
@@ -118,8 +118,8 @@ function requireNative() {
|
|
|
118
118
|
try {
|
|
119
119
|
const binding = require('@limboai/verifox-sdk-issuer-win32-x64-gnu')
|
|
120
120
|
const bindingPackageVersion = require('@limboai/verifox-sdk-issuer-win32-x64-gnu/package.json').version
|
|
121
|
-
if (bindingPackageVersion !== '0.0.
|
|
122
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
121
|
+
if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
122
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
123
123
|
}
|
|
124
124
|
return binding
|
|
125
125
|
} catch (e) {
|
|
@@ -134,8 +134,8 @@ function requireNative() {
|
|
|
134
134
|
try {
|
|
135
135
|
const binding = require('@limboai/verifox-sdk-issuer-win32-x64-msvc')
|
|
136
136
|
const bindingPackageVersion = require('@limboai/verifox-sdk-issuer-win32-x64-msvc/package.json').version
|
|
137
|
-
if (bindingPackageVersion !== '0.0.
|
|
138
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
137
|
+
if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
138
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
139
139
|
}
|
|
140
140
|
return binding
|
|
141
141
|
} catch (e) {
|
|
@@ -151,8 +151,8 @@ function requireNative() {
|
|
|
151
151
|
try {
|
|
152
152
|
const binding = require('@limboai/verifox-sdk-issuer-win32-ia32-msvc')
|
|
153
153
|
const bindingPackageVersion = require('@limboai/verifox-sdk-issuer-win32-ia32-msvc/package.json').version
|
|
154
|
-
if (bindingPackageVersion !== '0.0.
|
|
155
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
154
|
+
if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
155
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
156
156
|
}
|
|
157
157
|
return binding
|
|
158
158
|
} catch (e) {
|
|
@@ -167,8 +167,8 @@ function requireNative() {
|
|
|
167
167
|
try {
|
|
168
168
|
const binding = require('@limboai/verifox-sdk-issuer-win32-arm64-msvc')
|
|
169
169
|
const bindingPackageVersion = require('@limboai/verifox-sdk-issuer-win32-arm64-msvc/package.json').version
|
|
170
|
-
if (bindingPackageVersion !== '0.0.
|
|
171
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
170
|
+
if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
171
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
172
172
|
}
|
|
173
173
|
return binding
|
|
174
174
|
} catch (e) {
|
|
@@ -186,8 +186,8 @@ function requireNative() {
|
|
|
186
186
|
try {
|
|
187
187
|
const binding = require('@limboai/verifox-sdk-issuer-darwin-universal')
|
|
188
188
|
const bindingPackageVersion = require('@limboai/verifox-sdk-issuer-darwin-universal/package.json').version
|
|
189
|
-
if (bindingPackageVersion !== '0.0.
|
|
190
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
189
|
+
if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
190
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
191
191
|
}
|
|
192
192
|
return binding
|
|
193
193
|
} catch (e) {
|
|
@@ -202,8 +202,8 @@ function requireNative() {
|
|
|
202
202
|
try {
|
|
203
203
|
const binding = require('@limboai/verifox-sdk-issuer-darwin-x64')
|
|
204
204
|
const bindingPackageVersion = require('@limboai/verifox-sdk-issuer-darwin-x64/package.json').version
|
|
205
|
-
if (bindingPackageVersion !== '0.0.
|
|
206
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
205
|
+
if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
206
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
207
207
|
}
|
|
208
208
|
return binding
|
|
209
209
|
} catch (e) {
|
|
@@ -218,8 +218,8 @@ function requireNative() {
|
|
|
218
218
|
try {
|
|
219
219
|
const binding = require('@limboai/verifox-sdk-issuer-darwin-arm64')
|
|
220
220
|
const bindingPackageVersion = require('@limboai/verifox-sdk-issuer-darwin-arm64/package.json').version
|
|
221
|
-
if (bindingPackageVersion !== '0.0.
|
|
222
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
221
|
+
if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
222
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
223
223
|
}
|
|
224
224
|
return binding
|
|
225
225
|
} catch (e) {
|
|
@@ -238,8 +238,8 @@ function requireNative() {
|
|
|
238
238
|
try {
|
|
239
239
|
const binding = require('@limboai/verifox-sdk-issuer-freebsd-x64')
|
|
240
240
|
const bindingPackageVersion = require('@limboai/verifox-sdk-issuer-freebsd-x64/package.json').version
|
|
241
|
-
if (bindingPackageVersion !== '0.0.
|
|
242
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
241
|
+
if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
242
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
243
243
|
}
|
|
244
244
|
return binding
|
|
245
245
|
} catch (e) {
|
|
@@ -254,8 +254,8 @@ function requireNative() {
|
|
|
254
254
|
try {
|
|
255
255
|
const binding = require('@limboai/verifox-sdk-issuer-freebsd-arm64')
|
|
256
256
|
const bindingPackageVersion = require('@limboai/verifox-sdk-issuer-freebsd-arm64/package.json').version
|
|
257
|
-
if (bindingPackageVersion !== '0.0.
|
|
258
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
257
|
+
if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
258
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
259
259
|
}
|
|
260
260
|
return binding
|
|
261
261
|
} catch (e) {
|
|
@@ -275,8 +275,8 @@ function requireNative() {
|
|
|
275
275
|
try {
|
|
276
276
|
const binding = require('@limboai/verifox-sdk-issuer-linux-x64-musl')
|
|
277
277
|
const bindingPackageVersion = require('@limboai/verifox-sdk-issuer-linux-x64-musl/package.json').version
|
|
278
|
-
if (bindingPackageVersion !== '0.0.
|
|
279
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
278
|
+
if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
279
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
280
280
|
}
|
|
281
281
|
return binding
|
|
282
282
|
} catch (e) {
|
|
@@ -291,8 +291,8 @@ function requireNative() {
|
|
|
291
291
|
try {
|
|
292
292
|
const binding = require('@limboai/verifox-sdk-issuer-linux-x64-gnu')
|
|
293
293
|
const bindingPackageVersion = require('@limboai/verifox-sdk-issuer-linux-x64-gnu/package.json').version
|
|
294
|
-
if (bindingPackageVersion !== '0.0.
|
|
295
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
294
|
+
if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
295
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
296
296
|
}
|
|
297
297
|
return binding
|
|
298
298
|
} catch (e) {
|
|
@@ -309,8 +309,8 @@ function requireNative() {
|
|
|
309
309
|
try {
|
|
310
310
|
const binding = require('@limboai/verifox-sdk-issuer-linux-arm64-musl')
|
|
311
311
|
const bindingPackageVersion = require('@limboai/verifox-sdk-issuer-linux-arm64-musl/package.json').version
|
|
312
|
-
if (bindingPackageVersion !== '0.0.
|
|
313
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
312
|
+
if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
313
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
314
314
|
}
|
|
315
315
|
return binding
|
|
316
316
|
} catch (e) {
|
|
@@ -325,8 +325,8 @@ function requireNative() {
|
|
|
325
325
|
try {
|
|
326
326
|
const binding = require('@limboai/verifox-sdk-issuer-linux-arm64-gnu')
|
|
327
327
|
const bindingPackageVersion = require('@limboai/verifox-sdk-issuer-linux-arm64-gnu/package.json').version
|
|
328
|
-
if (bindingPackageVersion !== '0.0.
|
|
329
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
328
|
+
if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
329
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
330
330
|
}
|
|
331
331
|
return binding
|
|
332
332
|
} catch (e) {
|
|
@@ -343,8 +343,8 @@ function requireNative() {
|
|
|
343
343
|
try {
|
|
344
344
|
const binding = require('@limboai/verifox-sdk-issuer-linux-arm-musleabihf')
|
|
345
345
|
const bindingPackageVersion = require('@limboai/verifox-sdk-issuer-linux-arm-musleabihf/package.json').version
|
|
346
|
-
if (bindingPackageVersion !== '0.0.
|
|
347
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
346
|
+
if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
347
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
348
348
|
}
|
|
349
349
|
return binding
|
|
350
350
|
} catch (e) {
|
|
@@ -359,8 +359,8 @@ function requireNative() {
|
|
|
359
359
|
try {
|
|
360
360
|
const binding = require('@limboai/verifox-sdk-issuer-linux-arm-gnueabihf')
|
|
361
361
|
const bindingPackageVersion = require('@limboai/verifox-sdk-issuer-linux-arm-gnueabihf/package.json').version
|
|
362
|
-
if (bindingPackageVersion !== '0.0.
|
|
363
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
362
|
+
if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
363
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
364
364
|
}
|
|
365
365
|
return binding
|
|
366
366
|
} catch (e) {
|
|
@@ -377,8 +377,8 @@ function requireNative() {
|
|
|
377
377
|
try {
|
|
378
378
|
const binding = require('@limboai/verifox-sdk-issuer-linux-loong64-musl')
|
|
379
379
|
const bindingPackageVersion = require('@limboai/verifox-sdk-issuer-linux-loong64-musl/package.json').version
|
|
380
|
-
if (bindingPackageVersion !== '0.0.
|
|
381
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
380
|
+
if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
381
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
382
382
|
}
|
|
383
383
|
return binding
|
|
384
384
|
} catch (e) {
|
|
@@ -393,8 +393,8 @@ function requireNative() {
|
|
|
393
393
|
try {
|
|
394
394
|
const binding = require('@limboai/verifox-sdk-issuer-linux-loong64-gnu')
|
|
395
395
|
const bindingPackageVersion = require('@limboai/verifox-sdk-issuer-linux-loong64-gnu/package.json').version
|
|
396
|
-
if (bindingPackageVersion !== '0.0.
|
|
397
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
396
|
+
if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
397
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
398
398
|
}
|
|
399
399
|
return binding
|
|
400
400
|
} catch (e) {
|
|
@@ -411,8 +411,8 @@ function requireNative() {
|
|
|
411
411
|
try {
|
|
412
412
|
const binding = require('@limboai/verifox-sdk-issuer-linux-riscv64-musl')
|
|
413
413
|
const bindingPackageVersion = require('@limboai/verifox-sdk-issuer-linux-riscv64-musl/package.json').version
|
|
414
|
-
if (bindingPackageVersion !== '0.0.
|
|
415
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
414
|
+
if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
415
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
416
416
|
}
|
|
417
417
|
return binding
|
|
418
418
|
} catch (e) {
|
|
@@ -427,8 +427,8 @@ function requireNative() {
|
|
|
427
427
|
try {
|
|
428
428
|
const binding = require('@limboai/verifox-sdk-issuer-linux-riscv64-gnu')
|
|
429
429
|
const bindingPackageVersion = require('@limboai/verifox-sdk-issuer-linux-riscv64-gnu/package.json').version
|
|
430
|
-
if (bindingPackageVersion !== '0.0.
|
|
431
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
430
|
+
if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
431
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
432
432
|
}
|
|
433
433
|
return binding
|
|
434
434
|
} catch (e) {
|
|
@@ -444,8 +444,8 @@ function requireNative() {
|
|
|
444
444
|
try {
|
|
445
445
|
const binding = require('@limboai/verifox-sdk-issuer-linux-ppc64-gnu')
|
|
446
446
|
const bindingPackageVersion = require('@limboai/verifox-sdk-issuer-linux-ppc64-gnu/package.json').version
|
|
447
|
-
if (bindingPackageVersion !== '0.0.
|
|
448
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
447
|
+
if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
448
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
449
449
|
}
|
|
450
450
|
return binding
|
|
451
451
|
} catch (e) {
|
|
@@ -460,8 +460,8 @@ function requireNative() {
|
|
|
460
460
|
try {
|
|
461
461
|
const binding = require('@limboai/verifox-sdk-issuer-linux-s390x-gnu')
|
|
462
462
|
const bindingPackageVersion = require('@limboai/verifox-sdk-issuer-linux-s390x-gnu/package.json').version
|
|
463
|
-
if (bindingPackageVersion !== '0.0.
|
|
464
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
463
|
+
if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
464
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
465
465
|
}
|
|
466
466
|
return binding
|
|
467
467
|
} catch (e) {
|
|
@@ -480,8 +480,8 @@ function requireNative() {
|
|
|
480
480
|
try {
|
|
481
481
|
const binding = require('@limboai/verifox-sdk-issuer-openharmony-arm64')
|
|
482
482
|
const bindingPackageVersion = require('@limboai/verifox-sdk-issuer-openharmony-arm64/package.json').version
|
|
483
|
-
if (bindingPackageVersion !== '0.0.
|
|
484
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
483
|
+
if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
484
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
485
485
|
}
|
|
486
486
|
return binding
|
|
487
487
|
} catch (e) {
|
|
@@ -496,8 +496,8 @@ function requireNative() {
|
|
|
496
496
|
try {
|
|
497
497
|
const binding = require('@limboai/verifox-sdk-issuer-openharmony-x64')
|
|
498
498
|
const bindingPackageVersion = require('@limboai/verifox-sdk-issuer-openharmony-x64/package.json').version
|
|
499
|
-
if (bindingPackageVersion !== '0.0.
|
|
500
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
499
|
+
if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
500
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
501
501
|
}
|
|
502
502
|
return binding
|
|
503
503
|
} catch (e) {
|
|
@@ -512,8 +512,8 @@ function requireNative() {
|
|
|
512
512
|
try {
|
|
513
513
|
const binding = require('@limboai/verifox-sdk-issuer-openharmony-arm')
|
|
514
514
|
const bindingPackageVersion = require('@limboai/verifox-sdk-issuer-openharmony-arm/package.json').version
|
|
515
|
-
if (bindingPackageVersion !== '0.0.
|
|
516
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
515
|
+
if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
516
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
517
517
|
}
|
|
518
518
|
return binding
|
|
519
519
|
} catch (e) {
|
|
@@ -538,16 +538,16 @@ export function __wbg_fetch_c6486a0142348bc8(arg0) {
|
|
|
538
538
|
const ret = fetch(arg0);
|
|
539
539
|
return ret;
|
|
540
540
|
}
|
|
541
|
-
export function
|
|
541
|
+
export function __wbg_forget_312f5a720aadbf2a() { return handleError(function (arg0, arg1, arg2) {
|
|
542
|
+
const ret = arg0.forget(getStringFromWasm0(arg1, arg2));
|
|
543
|
+
return ret;
|
|
544
|
+
}, arguments); }
|
|
545
|
+
export function __wbg_forget_e67a2808525aa9e8() { return handleError(function (arg0, arg1, arg2) {
|
|
542
546
|
var v0 = getArrayU8FromWasm0(arg1, arg2).slice();
|
|
543
547
|
wasm.__wbindgen_free(arg1, arg2 * 1, 1);
|
|
544
548
|
const ret = arg0.forget(v0);
|
|
545
549
|
return ret;
|
|
546
550
|
}, arguments); }
|
|
547
|
-
export function __wbg_forget_ff89d76420e0f7e3() { return handleError(function (arg0, arg1, arg2) {
|
|
548
|
-
const ret = arg0.forget(getStringFromWasm0(arg1, arg2));
|
|
549
|
-
return ret;
|
|
550
|
-
}, arguments); }
|
|
551
551
|
export function __wbg_from_8a57180716c586ee(arg0) {
|
|
552
552
|
const ret = Array.from(arg0);
|
|
553
553
|
return ret;
|
|
@@ -568,14 +568,14 @@ export function __wbg_get_52a8a619f7b88df6() { return handleError(function (arg0
|
|
|
568
568
|
const ret = Reflect.get(arg0, arg1);
|
|
569
569
|
return ret;
|
|
570
570
|
}, arguments); }
|
|
571
|
+
export function __wbg_get_8a0b8742979a7c7a() { return handleError(function (arg0, arg1, arg2) {
|
|
572
|
+
const ret = arg0.get(getStringFromWasm0(arg1, arg2));
|
|
573
|
+
return ret;
|
|
574
|
+
}, arguments); }
|
|
571
575
|
export function __wbg_get_done_c21b9933fc9a9e9c(arg0) {
|
|
572
576
|
const ret = arg0.done;
|
|
573
577
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
574
578
|
}
|
|
575
|
-
export function __wbg_get_e7e82191b34bcb39() { return handleError(function (arg0, arg1, arg2) {
|
|
576
|
-
const ret = arg0.get(getStringFromWasm0(arg1, arg2));
|
|
577
|
-
return ret;
|
|
578
|
-
}, arguments); }
|
|
579
579
|
export function __wbg_get_unchecked_46e778e3cec74b5e(arg0, arg1) {
|
|
580
580
|
const ret = arg0[arg1 >>> 0];
|
|
581
581
|
return ret;
|
|
@@ -656,7 +656,7 @@ export function __wbg_length_fb04d16d7bdf6d4c(arg0) {
|
|
|
656
656
|
const ret = arg0.length;
|
|
657
657
|
return ret;
|
|
658
658
|
}
|
|
659
|
-
export function
|
|
659
|
+
export function __wbg_mint_37f298ec9d619da5() { return handleError(function (arg0) {
|
|
660
660
|
const ret = arg0.mint();
|
|
661
661
|
return ret;
|
|
662
662
|
}, arguments); }
|
|
@@ -741,7 +741,7 @@ export function __wbg_push_ceb8ef046afb2041(arg0, arg1) {
|
|
|
741
741
|
const ret = arg0.push(arg1);
|
|
742
742
|
return ret;
|
|
743
743
|
}
|
|
744
|
-
export function
|
|
744
|
+
export function __wbg_put_c4d75a4d3ae13108() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
745
745
|
var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
|
|
746
746
|
wasm.__wbindgen_free(arg3, arg4 * 1, 1);
|
|
747
747
|
const ret = arg0.put(getStringFromWasm0(arg1, arg2), v0);
|
|
@@ -821,7 +821,7 @@ export function __wbg_set_signal_9022b5aa06a6ce5b(arg0, arg1) {
|
|
|
821
821
|
export function __wbg_set_type_38a356c417e6662e(arg0, arg1, arg2) {
|
|
822
822
|
arg0.type = getStringFromWasm0(arg1, arg2);
|
|
823
823
|
}
|
|
824
|
-
export function
|
|
824
|
+
export function __wbg_sign_5cbad8c00711634a() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
825
825
|
var v0 = getArrayU8FromWasm0(arg1, arg2).slice();
|
|
826
826
|
wasm.__wbindgen_free(arg1, arg2 * 1, 1);
|
|
827
827
|
var v1 = getArrayU8FromWasm0(arg3, arg4).slice();
|
|
@@ -896,22 +896,22 @@ export function __wbg_view_15fa5865c6b336e3(arg0) {
|
|
|
896
896
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
897
897
|
}
|
|
898
898
|
export function __wbindgen_cast_0000000000000001(arg0, arg1) {
|
|
899
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
899
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1808, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
900
900
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h943eb40e888f3817);
|
|
901
901
|
return ret;
|
|
902
902
|
}
|
|
903
903
|
export function __wbindgen_cast_0000000000000002(arg0, arg1) {
|
|
904
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
904
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 521, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
905
905
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h7054f5716afd86e4);
|
|
906
906
|
return ret;
|
|
907
907
|
}
|
|
908
908
|
export function __wbindgen_cast_0000000000000003(arg0, arg1) {
|
|
909
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
909
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 508, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
910
910
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h05be101785b70b99);
|
|
911
911
|
return ret;
|
|
912
912
|
}
|
|
913
913
|
export function __wbindgen_cast_0000000000000004(arg0, arg1) {
|
|
914
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
914
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 567, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
915
915
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h063e3cf551c2e635);
|
|
916
916
|
return ret;
|
|
917
917
|
}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@limboai/verifox-sdk-issuer",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -67,9 +67,9 @@
|
|
|
67
67
|
"typescript": "^5.9.3"
|
|
68
68
|
},
|
|
69
69
|
"optionalDependencies": {
|
|
70
|
-
"@limboai/verifox-sdk-issuer-darwin-arm64": "0.0.
|
|
71
|
-
"@limboai/verifox-sdk-issuer-darwin-x64": "0.0.
|
|
72
|
-
"@limboai/verifox-sdk-issuer-linux-x64-gnu": "0.0.
|
|
73
|
-
"@limboai/verifox-sdk-issuer-linux-arm64-gnu": "0.0.
|
|
70
|
+
"@limboai/verifox-sdk-issuer-darwin-arm64": "0.0.3",
|
|
71
|
+
"@limboai/verifox-sdk-issuer-darwin-x64": "0.0.3",
|
|
72
|
+
"@limboai/verifox-sdk-issuer-linux-x64-gnu": "0.0.3",
|
|
73
|
+
"@limboai/verifox-sdk-issuer-linux-arm64-gnu": "0.0.3"
|
|
74
74
|
}
|
|
75
75
|
}
|
package/types/asset.d.ts
CHANGED
|
@@ -11,6 +11,14 @@ export interface Ingredient {
|
|
|
11
11
|
data: Uint8Array;
|
|
12
12
|
format?: string;
|
|
13
13
|
relationship?: Relationship;
|
|
14
|
+
/**
|
|
15
|
+
* Pre-rendered thumbnail of this ingredient, attached as its
|
|
16
|
+
* `c2pa.thumbnail.ingredient` resource. As with the manifest
|
|
17
|
+
* {@link Thumbnail}, the split-signer has no asset bytes to render one
|
|
18
|
+
* server-side, so supply your own; verifiers show it as the ingredient's
|
|
19
|
+
* preview tile.
|
|
20
|
+
*/
|
|
21
|
+
thumbnail?: Thumbnail;
|
|
14
22
|
}
|
|
15
23
|
|
|
16
24
|
export interface Assertion {
|