@ops-ai/vue-feature-flags-toggly 1.0.2 → 1.0.4

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.
Files changed (2) hide show
  1. package/README.md +10 -0
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -47,6 +47,16 @@ app.use(toggly, {
47
47
  });
48
48
  ```
49
49
 
50
+ Or you can use the *$toggly* service to set/clear the identity at a later time.
51
+
52
+ ```js
53
+ this.$toggly.setIdentity('unique-user-identifier')
54
+ ```
55
+
56
+ ```js
57
+ this.$toggly.clearIdentity()
58
+ ```
59
+
50
60
  Now you can start using the Feature component anywhere in your application.
51
61
 
52
62
  ```html
package/package.json CHANGED
@@ -1,4 +1,8 @@
1
1
  {
2
+ "name": "@ops-ai/vue-feature-flags-toggly",
3
+ "version": "1.0.4",
4
+ "description": "Provides feature flags support for Vue.js applications allowing you to enable and disable features easily. Can be used with or without Toggly.io.",
5
+ "type": "module",
2
6
  "files": [
3
7
  "dist"
4
8
  ],
@@ -33,10 +37,6 @@
33
37
  "preview": "vite preview",
34
38
  "test": "exit 0"
35
39
  },
36
- "name": "@ops-ai/vue-feature-flags-toggly",
37
- "version": "1.0.2",
38
- "description": "Provides feature flags support for Vue.js applications allowing you to enable and disable features easily. Can be used with or without Toggly.io.",
39
- "type": "module",
40
40
  "dependencies": {
41
41
  "vue": "^3.2.45"
42
42
  },