naystack 1.5.0 → 1.5.2
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.
|
@@ -735,6 +735,7 @@ var getUserId = async () => {
|
|
|
735
735
|
function getAuthCaller(fn) {
|
|
736
736
|
return (0, import_react.cache)(
|
|
737
737
|
async (data) => {
|
|
738
|
+
"use server";
|
|
738
739
|
const ctx = {
|
|
739
740
|
userId: await getUserId(),
|
|
740
741
|
isRefreshID: true
|
|
@@ -746,6 +747,7 @@ function getAuthCaller(fn) {
|
|
|
746
747
|
function getCaller(fn) {
|
|
747
748
|
return (0, import_react.cache)(
|
|
748
749
|
async (data) => {
|
|
750
|
+
"use server";
|
|
749
751
|
const ctx = {
|
|
750
752
|
userId: null,
|
|
751
753
|
isRefreshID: true
|
|
@@ -731,6 +731,7 @@ var getUserId = async () => {
|
|
|
731
731
|
function getAuthCaller(fn) {
|
|
732
732
|
return cache(
|
|
733
733
|
async (data) => {
|
|
734
|
+
"use server";
|
|
734
735
|
const ctx = {
|
|
735
736
|
userId: await getUserId(),
|
|
736
737
|
isRefreshID: true
|
|
@@ -742,6 +743,7 @@ function getAuthCaller(fn) {
|
|
|
742
743
|
function getCaller(fn) {
|
|
743
744
|
return cache(
|
|
744
745
|
async (data) => {
|
|
746
|
+
"use server";
|
|
745
747
|
const ctx = {
|
|
746
748
|
userId: null,
|
|
747
749
|
isRefreshID: true
|
|
@@ -128,6 +128,7 @@ var getUserId = async () => {
|
|
|
128
128
|
function getAuthCaller(fn) {
|
|
129
129
|
return (0, import_react.cache)(
|
|
130
130
|
async (data) => {
|
|
131
|
+
"use server";
|
|
131
132
|
const ctx = {
|
|
132
133
|
userId: await getUserId(),
|
|
133
134
|
isRefreshID: true
|
|
@@ -139,6 +140,7 @@ function getAuthCaller(fn) {
|
|
|
139
140
|
function getCaller(fn) {
|
|
140
141
|
return (0, import_react.cache)(
|
|
141
142
|
async (data) => {
|
|
143
|
+
"use server";
|
|
142
144
|
const ctx = {
|
|
143
145
|
userId: null,
|
|
144
146
|
isRefreshID: true
|
|
@@ -113,6 +113,7 @@ var getUserId = async () => {
|
|
|
113
113
|
function getAuthCaller(fn) {
|
|
114
114
|
return cache(
|
|
115
115
|
async (data) => {
|
|
116
|
+
"use server";
|
|
116
117
|
const ctx = {
|
|
117
118
|
userId: await getUserId(),
|
|
118
119
|
isRefreshID: true
|
|
@@ -124,6 +125,7 @@ function getAuthCaller(fn) {
|
|
|
124
125
|
function getCaller(fn) {
|
|
125
126
|
return cache(
|
|
126
127
|
async (data) => {
|
|
128
|
+
"use server";
|
|
127
129
|
const ctx = {
|
|
128
130
|
userId: null,
|
|
129
131
|
isRefreshID: true
|