@wix/forms 1.0.138 → 1.0.139

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/forms",
3
- "version": "1.0.138",
3
+ "version": "1.0.139",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "dependencies": {
22
22
  "@wix/forms_form-spam-submission-reports": "1.0.14",
23
- "@wix/forms_form-submissions": "1.0.20",
23
+ "@wix/forms_form-submissions": "1.0.21",
24
24
  "@wix/forms_forms": "1.0.22",
25
25
  "@wix/forms_submissions": "1.0.55"
26
26
  },
@@ -47,5 +47,5 @@
47
47
  "fqdn": ""
48
48
  }
49
49
  },
50
- "falconPackageHash": "d0764cccee5ec2f1d237e1d5247d716ce1623309ca7ed9a9765961cf"
50
+ "falconPackageHash": "21e00611bd34c1df7d689d102ab5fccbc8b18b7f180ab9c4a514811e"
51
51
  }
@@ -205,15 +205,26 @@ interface FormSubmissionSpiExtensionConfig {
205
205
  namespaceConfigs?: FormsSubmissionsExtensionNamespaceConfig[];
206
206
  }
207
207
  interface SpiBaseUri {
208
- /** URI that will be used by the host to call the implementer. The path-suffix defined on the method will be appended to it */
208
+ /**
209
+ * Base URI where the methods are called. Wix appends the path to the `baseUri`.
210
+ * For example, to call the Get Shipping Rates method at `https://my-shipping-provider.com/v1/getRates`, the base URI you provide here is `https://my-shipping-provider.com/`.
211
+ */
209
212
  baseUri?: string;
210
- /** override method mappings per method */
213
+ /** Alternate, custom URIs to replace the default URIs for specific service plugin methods. */
211
214
  alternativeUris?: AlternativeUri[];
212
215
  }
213
216
  interface AlternativeUri {
214
- /** name of the method as it appears in the proto */
217
+ /**
218
+ * Name of the method to create a custom URI for.
219
+ *
220
+ * For `methodName`, use the name of the method in PascalCase.
221
+ * For example, for Get Shipping Rates use `GetShippingRates`.
222
+ */
215
223
  methodName?: string;
216
- /** absolute uri that will be used by the host to call that method. The path-suffix mapped from the method http option will NOT be appended to this URI. For TPAs. it must be https */
224
+ /**
225
+ * Custom URI that Wix uses to call your server for this method. The path-suffix documented in the method will not be appended to this URI.
226
+ * Must be a secured endpoint beginning with `https://`. For example, `https://www.my-shipping-provider.com/my-shipping-rates`.
227
+ */
217
228
  absoluteUri?: string;
218
229
  }
219
230
  interface FormsSubmissionsExtensionNamespaceConfig {
@@ -205,15 +205,26 @@ interface FormSubmissionSpiExtensionConfig {
205
205
  namespaceConfigs?: FormsSubmissionsExtensionNamespaceConfig[];
206
206
  }
207
207
  interface SpiBaseUri {
208
- /** URI that will be used by the host to call the implementer. The path-suffix defined on the method will be appended to it */
208
+ /**
209
+ * Base URI where the methods are called. Wix appends the path to the `baseUri`.
210
+ * For example, to call the Get Shipping Rates method at `https://my-shipping-provider.com/v1/getRates`, the base URI you provide here is `https://my-shipping-provider.com/`.
211
+ */
209
212
  baseUri?: string;
210
- /** override method mappings per method */
213
+ /** Alternate, custom URIs to replace the default URIs for specific service plugin methods. */
211
214
  alternativeUris?: AlternativeUri[];
212
215
  }
213
216
  interface AlternativeUri {
214
- /** name of the method as it appears in the proto */
217
+ /**
218
+ * Name of the method to create a custom URI for.
219
+ *
220
+ * For `methodName`, use the name of the method in PascalCase.
221
+ * For example, for Get Shipping Rates use `GetShippingRates`.
222
+ */
215
223
  methodName?: string;
216
- /** absolute uri that will be used by the host to call that method. The path-suffix mapped from the method http option will NOT be appended to this URI. For TPAs. it must be https */
224
+ /**
225
+ * Custom URI that Wix uses to call your server for this method. The path-suffix documented in the method will not be appended to this URI.
226
+ * Must be a secured endpoint beginning with `https://`. For example, `https://www.my-shipping-provider.com/my-shipping-rates`.
227
+ */
217
228
  absoluteUri?: string;
218
229
  }
219
230
  interface FormsSubmissionsExtensionNamespaceConfig {