@useparagon/core 1.1.2 → 1.1.3-19510-canary.2

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.
@@ -19,7 +19,7 @@ import type jsforce from 'jsforce';
19
19
  import type jsonwebtoken from 'jsonwebtoken';
20
20
  import type lodash from 'lodash';
21
21
  import type luxon from 'luxon';
22
- import type mailgunJs from 'mailgun.js';
22
+ import type mailgunJs from 'mailgun.js' assert { 'resolution-mode': 'import' };
23
23
  import type Moment from 'moment';
24
24
  import type Mssql from 'mssql';
25
25
  import type mysql2 from 'mysql2';
@@ -46,6 +46,7 @@ import type uuid from 'uuid';
46
46
  import type IORedis from 'ioredis';
47
47
  import type lodashFp from 'lodash/fp';
48
48
  import type csvSync from 'csv/lib/sync';
49
+ import type pdfLib from 'pdf-lib';
49
50
  type ParagonUtils = {
50
51
  mapIntegrationObjects: (mapping: Record<string, any>, objects: Record<string, any>[]) => Record<string, any>[];
51
52
  mapApplicationObjects: (mapping: Record<string, any>, objects: Record<string, any>[]) => Record<string, any>[];
@@ -71,7 +72,7 @@ export type FunctionStepLibraries = {
71
72
  jsonwebtoken: typeof jsonwebtoken;
72
73
  lodash: typeof lodash;
73
74
  luxon: typeof luxon;
74
- Mailgun: mailgunJs;
75
+ Mailgun: typeof mailgunJs;
75
76
  mercury: typeof mercuryParser;
76
77
  moment: typeof Moment;
77
78
  mongodb: any;
@@ -112,5 +113,6 @@ export type FunctionStepLibraries = {
112
113
  '@aws-sdk/lib-dynamodb': typeof import('@aws-sdk/lib-dynamodb');
113
114
  '@aws-sdk/lib-storage': typeof import('@aws-sdk/lib-storage');
114
115
  '@azure/storage-blob': typeof import('@azure/storage-blob');
116
+ 'pdf-lib': typeof pdfLib;
115
117
  };
116
118
  export {};
@@ -30,6 +30,7 @@ class EndpointStep extends trigger_1.TriggerStep {
30
30
  if (initParams.allowArbitraryPayload) {
31
31
  return {
32
32
  ...defaultParams,
33
+ allowArbitraryPayload: true,
33
34
  objectMapping: this._parameters.objectMapping
34
35
  ? (0, resolvers_1.resolveToTokenizedSource)(this._parameters.objectMapping, resolvers_1.DataType.STRING, this.dependencies)
35
36
  : undefined,
@@ -1 +1 @@
1
- {"version":3,"file":"endpoint.step.js","sourceRoot":"","sources":["../../../src/triggers/endpoint/endpoint.step.ts"],"names":[],"mappings":";;;AAAA,+CAGyB;AACzB,+CAAqE;AACrE,+DAAuE;AACvE,wCAAyC;AAWzC,MAAa,YACX,SAAQ,qBAAW;IASnB,IAAI,GAAsB,yBAAQ,CAAC,QAAQ,CAAC;IAOpC,WAAW,CAA8B;IAKjD,UAAU,CAA0B;IAKpC,IAAI,MAAM;QACR,OAAO,IAAA,qCAAyB,EAC9B,IAAI,EACJ,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,EACb,mCAAuB,CAAC,cAAc,CACvC,CAAC;IACJ,CAAC;IAED,YAAY,MAAS;QACnB,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC;QAE1B,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,mBAAmB,EAAE,CAAC;IAC/C,CAAC;IAKD,mBAAmB;QACjB,MAAM,UAAU,GAAgC,IAAI,CAAC,WAAW,CAAC;QAEjE,MAAM,aAAa,GAA4B;YAC7C,UAAU,EAAE,MAAM;YAClB,gBAAgB,EAAE,EAAE;YACpB,iBAAiB,EAAE,EAAE;YACrB,eAAe,EAAE,EAAE;YACnB,qBAAqB,EAAE,KAAK;YAC5B,IAAI,EAAE,IAAI,CAAC,YAAY,EAAE,UAAW;SACrC,CAAC;QAEF,IAAI,UAAU,CAAC,qBAAqB,EAAE,CAAC;YACrC,OAAO;gBACL,GAAG,aAAa;gBAChB,aAAa,EAAE,IAAI,CAAC,WAAW,CAAC,aAAa;oBAC3C,CAAC,CAAC,IAAA,oCAAwB,EACtB,IAAI,CAAC,WAAW,CAAC,aAAa,EAC9B,oBAAQ,CAAC,MAAM,EACf,IAAI,C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AAW,CAAC,aAAa,EAC9B,oBAAQ,CAAC,MAAM,EACf,IAAI,CAAC,YAAY,CAClB;oBACH,CAAC,CAAC,SAAS;aACd,CAAC;QACJ,CAAC;QAED,OAAO,EAAE,GAAG,aAAa,EAAE,GAAG,UAAU,EAAE,CAAC;IAC7C,CAAC;CACF;AAzED,oCAyEC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useparagon/core",
3
- "version": "1.1.2",
3
+ "version": "1.1.3-19510-canary.2",
4
4
  "description": "Core libraries for paragraph",
5
5
  "repository": "https://github.com/useparagon/paragraph",
6
6
  "packageManager": "pnpm@8.10.5",
@@ -51,7 +51,6 @@
51
51
  "@types/jsonwebtoken": "9.0.5",
52
52
  "@types/lodash": "4.14.202",
53
53
  "@types/luxon": "3.3.7",
54
- "@types/mailgun-js": "0.22.18",
55
54
  "@types/mssql": "9.1.4",
56
55
  "@types/node": "18.19.3",
57
56
  "@types/node-fetch": "2.6.10",
@@ -81,10 +80,11 @@
81
80
  "form-data": "4.0.5",
82
81
  "ioredis": "5.10.1",
83
82
  "libphonenumber-js": "1.12.41",
84
- "mailgun.js": "8.2.2",
83
+ "mailgun.js": "13.0.0",
85
84
  "moment": "2.30.1",
86
85
  "mysql2": "3.16.3",
87
86
  "neo4j-driver": "5.16.0",
87
+ "pdf-lib": "1.17.1",
88
88
  "prettier": "3.1.1",
89
89
  "prettier-plugin-organize-imports": "3.2.4",
90
90
  "promise-parallel-throttle": "3.3.0",