@symbiote-native/store-review 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 +7 -11
  2. package/package.json +13 -13
package/README.md CHANGED
@@ -56,12 +56,11 @@ src/angular/ @symbiote-native/store-review/angular — export * from '../core'
56
56
 
57
57
  ```tsx
58
58
  // React
59
- import { Button } from '@symbiote-native/react';
60
59
  import { requestReview } from '@symbiote-native/store-review/react';
61
60
 
62
61
  function RateAppButton() {
63
62
  return (
64
- <Button
63
+ <button
65
64
  title="Rate this app"
66
65
  onPress={() =>
67
66
  requestReview({
@@ -78,7 +77,6 @@ function RateAppButton() {
78
77
  ```vue
79
78
  <!-- Vue -->
80
79
  <script setup lang="ts">
81
- import { Button } from '@symbiote-native/vue';
82
80
  import { requestReview } from '@symbiote-native/store-review/vue';
83
81
 
84
82
  function onRatePress() {
@@ -91,14 +89,13 @@ function onRatePress() {
91
89
  </script>
92
90
 
93
91
  <template>
94
- <Button title="Rate this app" @press="onRatePress" />
92
+ <button title="Rate this app" @press="onRatePress" />
95
93
  </template>
96
94
  ```
97
95
 
98
96
  ```svelte
99
97
  <!-- Svelte -->
100
98
  <script lang="ts">
101
- import { Button } from '@symbiote-native/svelte';
102
99
  import { requestReview } from '@symbiote-native/store-review/svelte';
103
100
 
104
101
  function onRatePress(): void {
@@ -110,12 +107,11 @@ function onRatePress() {
110
107
  }
111
108
  </script>
112
109
 
113
- <Button title="Rate this app" onPress={onRatePress} />
110
+ <button title="Rate this app" onPress={onRatePress} />
114
111
  ```
115
112
 
116
113
  ```tsx
117
114
  // Solid
118
- import { Button } from '@symbiote-native/solid';
119
115
  import { requestReview } from '@symbiote-native/store-review/solid';
120
116
 
121
117
  function RateAppButton() {
@@ -126,20 +122,20 @@ function RateAppButton() {
126
122
  'https://play.google.com/store/apps/details?id=com.example.app',
127
123
  });
128
124
 
129
- return <Button title="Rate this app" onPress={onRatePress} />;
125
+ return <button title="Rate this app" onPress={onRatePress} />;
130
126
  }
131
127
  ```
132
128
 
133
129
  ```ts
134
130
  // Angular
135
131
  import { Component } from '@angular/core';
136
- import { Button } from '@symbiote-native/angular';
132
+ import { SYMBIOTE_ELEMENTS } from '@symbiote-native/angular';
137
133
  import { requestReview } from '@symbiote-native/store-review/angular';
138
134
 
139
135
  @Component({
140
136
  standalone: true,
141
- imports: [Button],
142
- template: `<Button title="Rate this app" (press)="onRatePress()" />`,
137
+ imports: [SYMBIOTE_ELEMENTS],
138
+ template: `<button title="Rate this app" (press)="onRatePress()" />`,
143
139
  })
144
140
  export class RateAppButton {
145
141
  onRatePress(): void {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbiote-native/store-review",
3
- "version": "1.0.0",
3
+ "version": "2.0.0",
4
4
  "description": "expo-store-review wrapped for SymbioteNative — one framework-agnostic core, built once and reachable from the React, Vue, Svelte, Solid, and Angular adapters. Prompts the platform's native in-app review flow, with a caller-supplied store-URL fallback in place of upstream's expo-constants-based lookup (this project doesn't depend on expo-constants).",
5
5
  "keywords": [
6
6
  "react-native",
@@ -79,12 +79,12 @@
79
79
  "solid-js": ">=1.9.0",
80
80
  "svelte": ">=5.56.0",
81
81
  "vue": ">=3.5.0",
82
- "@symbiote-native/angular": "^1.0.0",
83
- "@symbiote-native/engine": "^0.4.0",
84
- "@symbiote-native/react": "^1.0.0",
85
- "@symbiote-native/solid": "^1.0.0",
86
- "@symbiote-native/svelte": "^1.0.0",
87
- "@symbiote-native/vue": "^1.0.0"
82
+ "@symbiote-native/angular": "^2.0.0",
83
+ "@symbiote-native/engine": "^0.5.0",
84
+ "@symbiote-native/react": "^2.0.0",
85
+ "@symbiote-native/solid": "^2.0.0",
86
+ "@symbiote-native/svelte": "^2.0.0",
87
+ "@symbiote-native/vue": "^2.0.0"
88
88
  },
89
89
  "peerDependenciesMeta": {
90
90
  "@symbiote-native/angular": {
@@ -132,13 +132,13 @@
132
132
  "solid-js": "^1.9.14",
133
133
  "svelte": "^5.56.0",
134
134
  "typescript": "~6.0.0",
135
- "@symbiote-native/angular": "1.0.0",
136
- "@symbiote-native/engine": "0.4.0",
137
- "@symbiote-native/react": "1.0.0",
138
- "@symbiote-native/solid": "1.0.0",
139
- "@symbiote-native/svelte": "1.0.0",
135
+ "@symbiote-native/engine": "0.5.0",
136
+ "@symbiote-native/react": "2.0.0",
137
+ "@symbiote-native/solid": "2.0.0",
138
+ "@symbiote-native/svelte": "2.0.0",
139
+ "@symbiote-native/vue": "2.0.0",
140
140
  "@symbiote-native/test-utils": "0.3.0",
141
- "@symbiote-native/vue": "1.0.0"
141
+ "@symbiote-native/angular": "2.0.0"
142
142
  },
143
143
  "scripts": {
144
144
  "typecheck": "tsc --build",