@voxie/contacts.js 0.2.1 → 0.2.3

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.
Files changed (2) hide show
  1. package/dist/contacts.js +5 -3
  2. package/package.json +1 -1
package/dist/contacts.js CHANGED
@@ -3128,7 +3128,7 @@ class te {
3128
3128
  constructor(n, e) {
3129
3129
  h(this, "authorization");
3130
3130
  h(this, "connectBaseUri");
3131
- this.authorization = n, this.connectBaseUri = e;
3131
+ this.authorization = n, this.connectBaseUri = e, console.log(n), console.log(e);
3132
3132
  }
3133
3133
  static init(n) {
3134
3134
  var e;
@@ -3140,7 +3140,7 @@ class te {
3140
3140
  async capture(n, e) {
3141
3141
  try {
3142
3142
  const r = td(n, "US");
3143
- return r.isPossible() ? (await rd(`${this.connectBaseUri}/capture/contact`, {
3143
+ return r.isPossible() ? (console.log(`${this.connectBaseUri}/capture/contact`), await rd(`${this.connectBaseUri}/capture/contact`, {
3144
3144
  headers: {
3145
3145
  Authorization: this.authorization
3146
3146
  },
@@ -3160,7 +3160,9 @@ class te {
3160
3160
  }
3161
3161
  }
3162
3162
  popUp() {
3163
- return new id(this.capture);
3163
+ return new id(
3164
+ async (n, e) => this.capture(n, e)
3165
+ );
3164
3166
  }
3165
3167
  }
3166
3168
  window.Voxie = te;
package/package.json CHANGED
@@ -57,5 +57,5 @@
57
57
  "engines": {
58
58
  "node": "^16.18.1 || ^18.12.1"
59
59
  },
60
- "version": "0.2.1"
60
+ "version": "0.2.3"
61
61
  }