@zernio/node 0.2.792 → 0.2.793

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/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@zernio/node",
39
- version: "0.2.792",
39
+ version: "0.2.793",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@zernio/node",
8
- version: "0.2.792",
8
+ version: "0.2.793",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.792",
3
+ "version": "0.2.793",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -6168,6 +6168,13 @@ export const validatePhoneNumberKycAddress = <ThrowOnError extends boolean = fal
6168
6168
  * submit. Only regulated (KYC) countries are valid: a country that does not
6169
6169
  * require KYC returns 400.
6170
6170
  *
6171
+ * Pass `numberType` (`local`, `mobile`, `national`, `toll_free`) to choose
6172
+ * which of the country's offered types the shared form collects KYC for and
6173
+ * eventually orders; omitted defaults to the country's default type (which
6174
+ * may be `national` and therefore have no inventory in a geographic area
6175
+ * code). Pass `areaCode` (NDC digits) to constrain the eventual order to a
6176
+ * specific area; it is validated against the chosen `numberType`.
6177
+ *
6171
6178
  * White-label the page with `branding` (your company name, logo, brand
6172
6179
  * color). Supply `redirect_url` to send the end customer back to your own
6173
6180
  * site after a successful submit (completion params are appended; see