saltfish 0.3.69 → 0.3.71

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.
@@ -1,4 +1,11 @@
1
1
  import type { UrlRequirement } from '../types';
2
+ /**
3
+ * Removes the saltfish-share-id parameter from a URL
4
+ * Share IDs should not affect URL matching since they're metadata for starting playlists
5
+ * @param url - The URL to clean
6
+ * @returns The URL without the saltfish-share-id parameter
7
+ */
8
+ export declare function stripShareIdFromUrl(url: string): string;
2
9
  /**
3
10
  * Validates if the current URL matches a URL requirement
4
11
  * @param urlRequirement - The URL requirement to validate against
@@ -1 +1 @@
1
- {"version":3,"file":"urlValidation.d.ts","sourceRoot":"","sources":["../../src/utils/urlValidation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,cAAc,EAAE,cAAc,GAAG,OAAO,CAwC9E;AAED;;;;;;GAMG;AACH,wBAAsB,+BAA+B,CACnD,cAAc,EAAE,cAAc,EAC9B,UAAU,GAAE,MAAW,EACvB,UAAU,GAAE,MAAY,GACvB,OAAO,CAAC,OAAO,CAAC,CAiClB"}
1
+ {"version":3,"file":"urlValidation.d.ts","sourceRoot":"","sources":["../../src/utils/urlValidation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CA6BvD;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,cAAc,EAAE,cAAc,GAAG,OAAO,CAyC9E;AAED;;;;;;GAMG;AACH,wBAAsB,+BAA+B,CACnD,cAAc,EAAE,cAAc,EAC9B,UAAU,GAAE,MAAW,EACvB,UAAU,GAAE,MAAY,GACvB,OAAO,CAAC,OAAO,CAAC,CAiClB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saltfish",
3
- "version": "0.3.69",
3
+ "version": "0.3.71",
4
4
  "description": "An interactive video-guided tour system for web applications",
5
5
  "main": "dist/saltfish-playlist-player.umd.js",
6
6
  "types": "dist/index.d.ts",