naystack 1.4.21 → 1.4.22

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.
@@ -701,7 +701,7 @@ var getUserId = async () => {
701
701
  function getCaller(fn, options) {
702
702
  return async (data, config) => {
703
703
  if (config?.revalidate) {
704
- const cachedFn = (data2, config2) => {
704
+ const cachedFn = async (data2, config2) => {
705
705
  "use cache";
706
706
  if (config2?.revalidate) (0, import_cache.cacheLife)(config2.revalidate);
707
707
  if (config2?.tags) (0, import_cache.cacheTag)(...config2.tags);
@@ -697,7 +697,7 @@ var getUserId = async () => {
697
697
  function getCaller(fn, options) {
698
698
  return async (data, config) => {
699
699
  if (config?.revalidate) {
700
- const cachedFn = (data2, config2) => {
700
+ const cachedFn = async (data2, config2) => {
701
701
  "use cache";
702
702
  if (config2?.revalidate) cacheLife(config2.revalidate);
703
703
  if (config2?.tags) cacheTag(...config2.tags);
@@ -72,7 +72,7 @@ var getUserId = async () => {
72
72
  function getCaller(fn, options) {
73
73
  return async (data, config) => {
74
74
  if (config?.revalidate) {
75
- const cachedFn = (data2, config2) => {
75
+ const cachedFn = async (data2, config2) => {
76
76
  "use cache";
77
77
  if (config2?.revalidate) (0, import_cache.cacheLife)(config2.revalidate);
78
78
  if (config2?.tags) (0, import_cache.cacheTag)(...config2.tags);
@@ -57,7 +57,7 @@ var getUserId = async () => {
57
57
  function getCaller(fn, options) {
58
58
  return async (data, config) => {
59
59
  if (config?.revalidate) {
60
- const cachedFn = (data2, config2) => {
60
+ const cachedFn = async (data2, config2) => {
61
61
  "use cache";
62
62
  if (config2?.revalidate) cacheLife(config2.revalidate);
63
63
  if (config2?.tags) cacheTag(...config2.tags);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "naystack",
3
- "version": "1.4.21",
3
+ "version": "1.4.22",
4
4
  "description": "A stack built with Next + GraphQL + S3 + Auth",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",