@tolinku/web-sdk 0.8.0 → 0.8.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/dist/index.d.mts CHANGED
@@ -88,6 +88,19 @@ interface LeaderboardEntry {
88
88
  interface DeferredLink {
89
89
  deep_link_path: string;
90
90
  appspace_id: string;
91
+ /**
92
+ * The absolute URL for this link, built from your Appspace's own host.
93
+ *
94
+ * The same field the mobile SDKs carry, so a claim reads the same whichever
95
+ * one an app moves between. There it is what `trackLinkOpen` has to be given,
96
+ * since reporting an open needs the host and a device cannot know it. On the
97
+ * web there is nothing to report: a page load already reached us and was
98
+ * counted when it was served. It is here because the server sends it and a
99
+ * caller should not have to cast to see it.
100
+ *
101
+ * Absent from servers older than this field, so treat it as optional.
102
+ */
103
+ url?: string;
91
104
  referrer_id?: string;
92
105
  referral_code?: string;
93
106
  }
package/dist/index.d.ts CHANGED
@@ -88,6 +88,19 @@ interface LeaderboardEntry {
88
88
  interface DeferredLink {
89
89
  deep_link_path: string;
90
90
  appspace_id: string;
91
+ /**
92
+ * The absolute URL for this link, built from your Appspace's own host.
93
+ *
94
+ * The same field the mobile SDKs carry, so a claim reads the same whichever
95
+ * one an app moves between. There it is what `trackLinkOpen` has to be given,
96
+ * since reporting an open needs the host and a device cannot know it. On the
97
+ * web there is nothing to report: a page load already reached us and was
98
+ * counted when it was served. It is here because the server sends it and a
99
+ * caller should not have to cast to see it.
100
+ *
101
+ * Absent from servers older than this field, so treat it as optional.
102
+ */
103
+ url?: string;
91
104
  referrer_id?: string;
92
105
  referral_code?: string;
93
106
  }
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  // src/types.ts
4
- var SDK_VERSION = "0.8.0";
4
+ var SDK_VERSION = "0.8.1";
5
5
 
6
6
  // src/client.ts
7
7
  var MAX_RETRIES = 3;