@wix/referral 1.0.53 → 1.0.54

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/referral",
3
- "version": "1.0.53",
3
+ "version": "1.0.54",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -23,7 +23,7 @@
23
23
  "dependencies": {
24
24
  "@wix/referral_customers": "1.0.18",
25
25
  "@wix/referral_friends": "1.0.22",
26
- "@wix/referral_programs": "1.0.28",
26
+ "@wix/referral_programs": "1.0.29",
27
27
  "@wix/referral_rewards": "1.0.17",
28
28
  "@wix/referral_tracker": "1.0.22"
29
29
  },
@@ -50,5 +50,5 @@
50
50
  "fqdn": ""
51
51
  }
52
52
  },
53
- "falconPackageHash": "2f813136d90e7033922d7a275dcb4d773991a7223cf81cfd7daf0074"
53
+ "falconPackageHash": "8dc9252b383b4aed25e23ad8175ae52e3b5c5937151053fc99f5d236"
54
54
  }
@@ -1060,6 +1060,21 @@ interface SiteMarkedAsTemplate {
1060
1060
  }
1061
1061
  interface SiteMarkedAsWixSite {
1062
1062
  }
1063
+ /**
1064
+ * Represents a service provisioned a site.
1065
+ *
1066
+ * Note on `origin_instance_id`:
1067
+ * There is no guarantee that you will be able to find a meta site using `origin_instance_id`.
1068
+ * This is because of the following scenario:
1069
+ *
1070
+ * Imagine you have a template where a third-party application (TPA) includes some stub data,
1071
+ * such as a product catalog. When you create a site from this template, you inherit this
1072
+ * default product catalog. However, if the template's product catalog is modified,
1073
+ * your site will retain the catalog as it was at the time of site creation. This ensures that
1074
+ * your site remains consistent with what you initially received and does not include any
1075
+ * changes made to the original template afterward.
1076
+ * To ensure this, the TPA on the template gets a new instance_id.
1077
+ */
1063
1078
  interface ServiceProvisioned {
1064
1079
  /** Either UUID or EmbeddedServiceType. */
1065
1080
  appDefId?: string;
@@ -1060,6 +1060,21 @@ interface SiteMarkedAsTemplate {
1060
1060
  }
1061
1061
  interface SiteMarkedAsWixSite {
1062
1062
  }
1063
+ /**
1064
+ * Represents a service provisioned a site.
1065
+ *
1066
+ * Note on `origin_instance_id`:
1067
+ * There is no guarantee that you will be able to find a meta site using `origin_instance_id`.
1068
+ * This is because of the following scenario:
1069
+ *
1070
+ * Imagine you have a template where a third-party application (TPA) includes some stub data,
1071
+ * such as a product catalog. When you create a site from this template, you inherit this
1072
+ * default product catalog. However, if the template's product catalog is modified,
1073
+ * your site will retain the catalog as it was at the time of site creation. This ensures that
1074
+ * your site remains consistent with what you initially received and does not include any
1075
+ * changes made to the original template afterward.
1076
+ * To ensure this, the TPA on the template gets a new instance_id.
1077
+ */
1063
1078
  interface ServiceProvisioned {
1064
1079
  /** Either UUID or EmbeddedServiceType. */
1065
1080
  appDefId?: string;