Skip to content

Commit a5a8960

Browse files
committed
fix security wrapping
1 parent e25cb41 commit a5a8960

File tree

284 files changed

+10136
-7587
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

284 files changed

+10136
-7587
lines changed

.eslintrc.cjs

Lines changed: 0 additions & 28 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/.eslintcache
12
/.speakeasy/reports
23
/react-query
34
/__tests__

.npmignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
!/**/*.json
88
!/**/*.map
99

10-
/.eslintrc.js
10+
/eslint.config.mjs
1111
/cjs
1212
/.tshy
1313
/.tshy-*

.speakeasy/gen.lock

Lines changed: 520 additions & 88 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ generation:
1313
oAuth2ClientCredentialsEnabled: false
1414
oAuth2PasswordEnabled: false
1515
typescript:
16-
version: 0.1.1
16+
version: 0.1.2
1717
additionalDependencies:
1818
dependencies: {}
1919
devDependencies: {}

.speakeasy/workflow.lock

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,27 @@
1-
speakeasyVersion: 1.469.12
1+
speakeasyVersion: 1.480.0
22
sources:
33
json-development:
44
sourceNamespace: json-development
5-
sourceRevisionDigest: sha256:fce0b7834d55907e3b8d01d1486c6fc6cbb0bcf94ffd7cfbd898846dd39cf80b
6-
sourceBlobDigest: sha256:00b66cd55839a01404e2056d1e3bd93db169ec0df788e1b7c65517b6626028e4
5+
sourceRevisionDigest: sha256:a3bc9d28a0516223a178a7aa0445fd3fa170e5d22624283a7bc7afc6adc39a97
6+
sourceBlobDigest: sha256:493b7112684dab3e5f942ce6203783a52c95640869918ddb76a2805c4e6f2c7d
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1737549251
109
- "1.0"
1110
targets:
1211
my-first-target:
1312
source: json-development
1413
sourceNamespace: json-development
15-
sourceRevisionDigest: sha256:fce0b7834d55907e3b8d01d1486c6fc6cbb0bcf94ffd7cfbd898846dd39cf80b
16-
sourceBlobDigest: sha256:00b66cd55839a01404e2056d1e3bd93db169ec0df788e1b7c65517b6626028e4
14+
sourceRevisionDigest: sha256:a3bc9d28a0516223a178a7aa0445fd3fa170e5d22624283a7bc7afc6adc39a97
15+
sourceBlobDigest: sha256:493b7112684dab3e5f942ce6203783a52c95640869918ddb76a2805c4e6f2c7d
1716
codeSamplesNamespace: code-samples-typescript
18-
codeSamplesRevisionDigest: sha256:dde878b566b18bcb16813f72494e9bfb4d0d3105fc700521fc9a228348a28c34
17+
codeSamplesRevisionDigest: sha256:6f9150e4d8f49ad693a3d466869d5428d0f88d81bb2ec600108f9b99b3d9b11d
1918
workflow:
2019
workflowVersion: 1.0.0
2120
speakeasyVersion: latest
2221
sources:
2322
json-development:
2423
inputs:
25-
- location: https://api.novu.co/openapi.sdk.yaml
24+
- location: http://127.0.0.1:3000/openapi.sdk.yaml
2625
overlays:
2726
- location: .speakeasy/speakeasy-modifications-overlay.yaml
2827
output: sources/json-development.json

.speakeasy/workflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ speakeasyVersion: latest
33
sources:
44
json-development:
55
inputs:
6-
- location: https://api.novu.co/openapi.sdk.yaml
6+
- location: http://127.0.0.1:3000/openapi.sdk.yaml
77
overlays:
88
- location: .speakeasy/speakeasy-modifications-overlay.yaml
99
output: sources/json-development.json

FUNCTIONS.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,18 @@ import { SDKValidationError } from "@novu/api/models/errors/sdkvalidationerror.j
2626
// Use `NovuCore` for best tree-shaking performance.
2727
// You can create one instance of it to use across an application.
2828
const novu = new NovuCore({
29-
apiKey: "<YOUR_API_KEY_HERE>",
29+
secretKey: "<YOUR_API_KEY_HERE>",
3030
});
3131

3232
async function run() {
3333
const res = await trigger(novu, {
34-
name: "workflow_identifier",
34+
workflowId: "workflow_identifier",
3535
payload: {
3636
"comment_id": "string",
3737
"post": {
3838
"text": "string",
3939
},
4040
},
41-
bridgeUrl: "https://example.com/bridge",
4241
overrides: {
4342
"fcm": {
4443
"data": {

0 commit comments

Comments
 (0)