factuplan 0.2.0 → 0.2.1

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/README.md CHANGED
@@ -145,7 +145,7 @@ console.log(`Expira en ${cert.daysUntilExpiry} dias`);
145
145
 
146
146
  ```typescript
147
147
  const factuplan = new Factuplan('tu-api-key', {
148
- baseUrl: 'http://api-rest.factuplan.com.ec/api/v1', // default
148
+ baseUrl: 'https://api-rest.factuplan.com.ec/api/v1', // default
149
149
  timeout: 30000, // 30s default
150
150
  });
151
151
  ```
package/dist/index.js CHANGED
@@ -117,7 +117,7 @@ var ProductsResource = class {
117
117
  };
118
118
 
119
119
  // src/client.ts
120
- var DEFAULT_BASE_URL = "http://api-rest.factuplan.com.ec/api/v1";
120
+ var DEFAULT_BASE_URL = "https://api-rest.factuplan.com.ec/api/v1";
121
121
  var DEFAULT_TIMEOUT = 3e4;
122
122
  var Factuplan = class {
123
123
  constructor(apiKey, options) {
package/dist/index.mjs CHANGED
@@ -88,7 +88,7 @@ var ProductsResource = class {
88
88
  };
89
89
 
90
90
  // src/client.ts
91
- var DEFAULT_BASE_URL = "http://api-rest.factuplan.com.ec/api/v1";
91
+ var DEFAULT_BASE_URL = "https://api-rest.factuplan.com.ec/api/v1";
92
92
  var DEFAULT_TIMEOUT = 3e4;
93
93
  var Factuplan = class {
94
94
  constructor(apiKey, options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "factuplan",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Official Factuplan SDK for JavaScript & TypeScript — Create electronic invoices for Ecuador (SRI)",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",