Skip to content

Commit

Permalink
fix security wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
tatarco committed Jan 31, 2025
1 parent e25cb41 commit a5a8960
Show file tree
Hide file tree
Showing 284 changed files with 10,136 additions and 7,587 deletions.
28 changes: 0 additions & 28 deletions .eslintrc.cjs

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.eslintcache
/.speakeasy/reports
/react-query
/__tests__
Expand Down
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
!/**/*.json
!/**/*.map

/.eslintrc.js
/eslint.config.mjs
/cjs
/.tshy
/.tshy-*
Expand Down
608 changes: 520 additions & 88 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ generation:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
typescript:
version: 0.1.1
version: 0.1.2
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand Down
15 changes: 7 additions & 8 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
speakeasyVersion: 1.469.12
speakeasyVersion: 1.480.0
sources:
json-development:
sourceNamespace: json-development
sourceRevisionDigest: sha256:fce0b7834d55907e3b8d01d1486c6fc6cbb0bcf94ffd7cfbd898846dd39cf80b
sourceBlobDigest: sha256:00b66cd55839a01404e2056d1e3bd93db169ec0df788e1b7c65517b6626028e4
sourceRevisionDigest: sha256:a3bc9d28a0516223a178a7aa0445fd3fa170e5d22624283a7bc7afc6adc39a97
sourceBlobDigest: sha256:493b7112684dab3e5f942ce6203783a52c95640869918ddb76a2805c4e6f2c7d
tags:
- latest
- speakeasy-sdk-regen-1737549251
- "1.0"
targets:
my-first-target:
source: json-development
sourceNamespace: json-development
sourceRevisionDigest: sha256:fce0b7834d55907e3b8d01d1486c6fc6cbb0bcf94ffd7cfbd898846dd39cf80b
sourceBlobDigest: sha256:00b66cd55839a01404e2056d1e3bd93db169ec0df788e1b7c65517b6626028e4
sourceRevisionDigest: sha256:a3bc9d28a0516223a178a7aa0445fd3fa170e5d22624283a7bc7afc6adc39a97
sourceBlobDigest: sha256:493b7112684dab3e5f942ce6203783a52c95640869918ddb76a2805c4e6f2c7d
codeSamplesNamespace: code-samples-typescript
codeSamplesRevisionDigest: sha256:dde878b566b18bcb16813f72494e9bfb4d0d3105fc700521fc9a228348a28c34
codeSamplesRevisionDigest: sha256:6f9150e4d8f49ad693a3d466869d5428d0f88d81bb2ec600108f9b99b3d9b11d
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
sources:
json-development:
inputs:
- location: https://api.novu.co/openapi.sdk.yaml
- location: http://127.0.0.1:3000/openapi.sdk.yaml
overlays:
- location: .speakeasy/speakeasy-modifications-overlay.yaml
output: sources/json-development.json
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ speakeasyVersion: latest
sources:
json-development:
inputs:
- location: https://api.novu.co/openapi.sdk.yaml
- location: http://127.0.0.1:3000/openapi.sdk.yaml
overlays:
- location: .speakeasy/speakeasy-modifications-overlay.yaml
output: sources/json-development.json
Expand Down
5 changes: 2 additions & 3 deletions FUNCTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,18 @@ import { SDKValidationError } from "@novu/api/models/errors/sdkvalidationerror.j
// Use `NovuCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
const novu = new NovuCore({
apiKey: "<YOUR_API_KEY_HERE>",
secretKey: "<YOUR_API_KEY_HERE>",
});

async function run() {
const res = await trigger(novu, {
name: "workflow_identifier",
workflowId: "workflow_identifier",
payload: {
"comment_id": "string",
"post": {
"text": "string",
},
},
bridgeUrl: "https://example.com/bridge",
overrides: {
"fcm": {
"data": {
Expand Down
Loading

0 comments on commit a5a8960

Please sign in to comment.