@symbiote-native/keep-awake 1.0.0 → 2.0.0

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 +5 -4
  2. package/package.json +13 -13
package/README.md CHANGED
@@ -84,7 +84,7 @@ import { useKeepAwake } from '@symbiote-native/keep-awake/react';
84
84
  function KeepAwakeScreen() {
85
85
  useKeepAwake(); // screen stays on for as long as this component is mounted
86
86
 
87
- return <Text>Screen will not sleep</Text>;
87
+ return <text>Screen will not sleep</text>;
88
88
  }
89
89
  ```
90
90
 
@@ -96,7 +96,7 @@ import { useKeepAwake } from '@symbiote-native/keep-awake/vue';
96
96
  useKeepAwake();
97
97
  </script>
98
98
  <template>
99
- <Text>Screen will not sleep</Text>
99
+ <text>Screen will not sleep</text>
100
100
  </template>
101
101
  ```
102
102
 
@@ -107,7 +107,8 @@ useKeepAwake();
107
107
 
108
108
  useKeepAwake(); // screen stays on for as long as this component is mounted
109
109
  </script>
110
- <Text>Screen will not sleep</Text>
110
+
111
+ <text>Screen will not sleep</text>
111
112
  ```
112
113
 
113
114
  ```tsx
@@ -117,7 +118,7 @@ import { createKeepAwake } from '@symbiote-native/keep-awake/solid';
117
118
  function KeepAwakeScreen() {
118
119
  createKeepAwake(); // activates in the primitive body, releases via onCleanup on dispose
119
120
 
120
- return <Text>Screen will not sleep</Text>;
121
+ return <text>Screen will not sleep</text>;
121
122
  }
122
123
  ```
123
124
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbiote-native/keep-awake",
3
- "version": "1.0.0",
3
+ "version": "2.0.0",
4
4
  "description": "expo-keep-awake wrapped for SymbioteNative — one framework-agnostic core, built once and reachable from the React, Vue, Svelte, Solid, and Angular adapters. Keeps the screen awake for the lifetime of a mounted component/composable/service, with an optional listener for keep-awake state changes.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -80,12 +80,12 @@
80
80
  "solid-js": ">=1.9.0",
81
81
  "svelte": ">=5.56.0",
82
82
  "vue": ">=3.5.0",
83
- "@symbiote-native/angular": "^1.0.0",
84
- "@symbiote-native/engine": "^0.4.0",
85
- "@symbiote-native/react": "^1.0.0",
86
- "@symbiote-native/solid": "^1.0.0",
87
- "@symbiote-native/svelte": "^1.0.0",
88
- "@symbiote-native/vue": "^1.0.0"
83
+ "@symbiote-native/angular": "^2.0.0",
84
+ "@symbiote-native/engine": "^0.5.0",
85
+ "@symbiote-native/react": "^2.0.0",
86
+ "@symbiote-native/solid": "^2.0.0",
87
+ "@symbiote-native/svelte": "^2.0.0",
88
+ "@symbiote-native/vue": "^2.0.0"
89
89
  },
90
90
  "peerDependenciesMeta": {
91
91
  "@symbiote-native/angular": {
@@ -133,13 +133,13 @@
133
133
  "solid-js": "^1.9.14",
134
134
  "svelte": "^5.56.0",
135
135
  "typescript": "~6.0.0",
136
- "@symbiote-native/angular": "1.0.0",
137
- "@symbiote-native/engine": "0.4.0",
138
- "@symbiote-native/react": "1.0.0",
139
- "@symbiote-native/solid": "1.0.0",
140
- "@symbiote-native/svelte": "1.0.0",
136
+ "@symbiote-native/angular": "2.0.0",
137
+ "@symbiote-native/engine": "0.5.0",
138
+ "@symbiote-native/react": "2.0.0",
139
+ "@symbiote-native/solid": "2.0.0",
140
+ "@symbiote-native/svelte": "2.0.0",
141
141
  "@symbiote-native/test-utils": "0.3.0",
142
- "@symbiote-native/vue": "1.0.0"
142
+ "@symbiote-native/vue": "2.0.0"
143
143
  },
144
144
  "scripts": {
145
145
  "typecheck": "tsc --build",