@sparkvault/sdk-js 13.4.0 → 14.0.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/dist/index.cjs +7 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +205 -12
- package/dist/index.mjs +7 -3
- package/dist/index.mjs.map +1 -1
- package/dist/products/index.d.ts +1 -1
- package/dist/products/notify/index.d.ts +7 -3
- package/dist/products/notify/types.d.ts +198 -9
- package/dist/sparkvault.js +1 -1
- package/dist/sparkvault.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -11870,8 +11870,12 @@ class NotifyProductModule {
|
|
|
11870
11870
|
*
|
|
11871
11871
|
* The `events` section configures the outbound event webhook: `webhook_url`
|
|
11872
11872
|
* must be https on a public host, and `secret` (16-256 chars) signs every event
|
|
11873
|
-
* body as `X-SparkVault-Signature: hex(HMAC-SHA256(secret, rawBody))`.
|
|
11874
|
-
*
|
|
11873
|
+
* body as `X-SparkVault-Signature: hex(HMAC-SHA256(secret, rawBody))`. Both
|
|
11874
|
+
* are WRITE-ONLY — reads report `events.webhook_url_set`,
|
|
11875
|
+
* `events.webhook_url_host` and `events.secret_set`, never the values. A
|
|
11876
|
+
* `webhook_url` on another host or port needs a new `secret` in the same
|
|
11877
|
+
* patch (400 `VALIDATION_ERROR` naming `events.secret`), so a secret never
|
|
11878
|
+
* follows its URL to a different host.
|
|
11875
11879
|
*
|
|
11876
11880
|
* The `email` section selects a domain of your own for your Notify email to go
|
|
11877
11881
|
* out from. `security`, `events` and `email` are an org admin's to change: a
|
|
@@ -18492,7 +18496,7 @@ class SparkVault {
|
|
|
18492
18496
|
}
|
|
18493
18497
|
/** Get the SDK version */
|
|
18494
18498
|
static get version() {
|
|
18495
|
-
return '
|
|
18499
|
+
return '14.0.0';
|
|
18496
18500
|
}
|
|
18497
18501
|
}
|
|
18498
18502
|
if (typeof window !== 'undefined') {
|