@tagadapay/plugin-sdk 1.0.14 → 1.0.15

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.
@@ -317,10 +317,7 @@ export function useAddress(options = {}) {
317
317
  if (isAddressSelected) {
318
318
  setIsAddressSelected(false);
319
319
  }
320
- // ✅ IMPORTANT: Trigger auto-save for manual address typing
321
- // This ensures that manual typing (without Google Places selection) is saved
322
- triggerAutoSave('manual');
323
- }, [isAddressSelected, triggerAutoSave]);
320
+ }, [isAddressSelected]);
324
321
  // Sync addressInputValue with external changes
325
322
  useEffect(() => {
326
323
  const currentAddress = fields.address1.value;
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * Client-side token storage utilities
4
4
  */
5
- const TOKEN_KEY = 'tagada_cms_token';
5
+ const TOKEN_KEY = 'cms_token';
6
6
  /**
7
7
  * Set the CMS token in localStorage
8
8
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tagadapay/plugin-sdk",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "Modern React SDK for building Tagada Pay plugins",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",