@driveflux/pdf 1.2.18-next.0 → 1.2.18

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.
@@ -1 +1 @@
1
- {"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../src/__mocks__/subscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAA;AAE5D,eAAO,MAAM,YAAY,EAAE,wBA+zB1B,CAAA"}
1
+ {"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../src/__mocks__/subscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAA;AAE5D,eAAO,MAAM,YAAY,EAAE,wBAg0B1B,CAAA"}
@@ -529,6 +529,7 @@ export var subscription = {
529
529
  activeSubscriptionId: 'S5Y9TWWSK',
530
530
  createdAt: new Date('2024-04-01T08:15:04.448Z'),
531
531
  updatedAt: new Date('2024-05-21T07:17:58.621Z'),
532
+ listedAt: new Date('2024-06-21T07:17:58.621Z'),
532
533
  metadata: {},
533
534
  addresses: {
534
535
  return: {
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }
package/dist/debug.js CHANGED
@@ -127,7 +127,7 @@ import { quotation } from './__mocks__/quotation.js';
127
127
  import { subscription } from './__mocks__/subscription.js';
128
128
  import { generateSubscriptionAgreementPdf } from './templates/SubscriptionAgreement/index.js';
129
129
  import { generateQuotationPdf } from './templates/index.js';
130
- var debugSubscriptionAgreement = function() {
130
+ var debugSubscriptionAgreement = /*#__PURE__*/ function() {
131
131
  var _ref = _async_to_generator(function() {
132
132
  return _ts_generator(this, function(_state) {
133
133
  switch(_state.label){
@@ -156,7 +156,7 @@ var debugSubscriptionAgreement = function() {
156
156
  return _ref.apply(this, arguments);
157
157
  };
158
158
  }();
159
- var debugQuotation = function() {
159
+ var debugQuotation = /*#__PURE__*/ function() {
160
160
  var _ref = _async_to_generator(function() {
161
161
  return _ts_generator(this, function(_state) {
162
162
  switch(_state.label){
@@ -190,7 +190,7 @@ var debugCases = [
190
190
  debugSubscriptionAgreement(),
191
191
  debugQuotation()
192
192
  ];
193
- var debug = function() {
193
+ var debug = /*#__PURE__*/ function() {
194
194
  var _ref = _async_to_generator(function() {
195
195
  var results;
196
196
  return _ts_generator(this, function(_state) {
@@ -132,7 +132,7 @@ import Pricing from './Pricing.js';
132
132
  import QuotationPdfPage from './QuotationPdfPage.js';
133
133
  import TermsSection from './TermsSection.js';
134
134
  import { useTranslations } from './translations.js';
135
- export var generateQuotationPdf = function() {
135
+ export var generateQuotationPdf = /*#__PURE__*/ function() {
136
136
  var _ref = _async_to_generator(function(param, fileName) {
137
137
  var _param_locale, locale, quotation;
138
138
  return _ts_generator(this, function(_state) {
@@ -184,7 +184,7 @@ import Details from './Details.js';
184
184
  import SubscriptionAgreementPage from './SubscriptionAgreementPage.js';
185
185
  import TermsOfUse from './TermsOfUse.js';
186
186
  import { useTranslations } from './translations.js';
187
- export var generateSubscriptionAgreementPdf = function() {
187
+ export var generateSubscriptionAgreementPdf = /*#__PURE__*/ function() {
188
188
  var _ref = _async_to_generator(function(param, fileName) {
189
189
  var _param_locale, locale, subscription;
190
190
  return _ts_generator(this, function(_state) {
package/dist/utils.js CHANGED
@@ -123,7 +123,7 @@ function _ts_generator(thisArg, body) {
123
123
  }
124
124
  }
125
125
  import ReactPDF from '@react-pdf/renderer';
126
- export var toPdf = function() {
126
+ export var toPdf = /*#__PURE__*/ function() {
127
127
  var _ref = _async_to_generator(function(document, fileName) {
128
128
  var pdfStream;
129
129
  return _ts_generator(this, function(_state) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@driveflux/pdf",
3
- "version": "1.2.18-next.0",
3
+ "version": "1.2.18",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -12,26 +12,26 @@
12
12
  "dist"
13
13
  ],
14
14
  "dependencies": {
15
- "@driveflux/db": "1.6.0-next.0",
16
- "@driveflux/env": "1.2.1-next.0",
17
- "@driveflux/format-money": "5.2.0",
18
- "@driveflux/time": "4.2.0",
15
+ "@driveflux/db": "1.6.0",
16
+ "@driveflux/env": "1.2.1",
17
+ "@driveflux/format-money": "5.2.1",
18
+ "@driveflux/time": "4.2.1",
19
19
  "@react-pdf/renderer": "^3.4.4",
20
20
  "date-fns": "^3.6.0",
21
- "nodemon": "^3.1.4",
21
+ "nodemon": "^3.1.6",
22
22
  "react": "^18.3.1"
23
23
  },
24
24
  "devDependencies": {
25
- "@babel/preset-env": "^7.24.8",
26
- "@driveflux/fab": "2.2.0",
27
- "@driveflux/tsconfig": "1.2.0",
28
- "@swc/cli": "^0.4.0",
29
- "@swc/core": "1.7.2",
30
- "@types/node": "^20.14.12",
31
- "@types/react": "^18.3.3",
25
+ "@babel/preset-env": "^7.25.4",
26
+ "@driveflux/fab": "2.2.1",
27
+ "@driveflux/tsconfig": "1.2.1",
28
+ "@swc/cli": "0.4.1-nightly.20240914",
29
+ "@swc/core": "1.7.26",
30
+ "@types/node": "^22.5.5",
31
+ "@types/react": "^18.3.8",
32
32
  "del-cli": "^5.1.0",
33
33
  "react": "^18.3.1",
34
- "typescript": "^5.5.4"
34
+ "typescript": "^5.6.2"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "react": "^18.3.1"