instant-local-throwaway
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -103,5 +103,5 @@ "use strict"; | ||
exports.useQuery = useQuery; | ||
function transact(ts, db) { | ||
function transact(ts, currDB) { | ||
var _a; | ||
const newDb = Object.assign({}, db); | ||
const newDb = Object.assign({}, currDB); | ||
tripleDB.save(ts, newDb); | ||
@@ -108,0 +108,0 @@ fetch("https://instant-server.herokuapp.com/api/transact", { |
@@ -72,5 +72,5 @@ import { useState, useEffect } from "react"; | ||
} | ||
function transact(ts, db) { | ||
function transact(ts, currDB) { | ||
var _a; | ||
const newDb = Object.assign({}, db); | ||
const newDb = Object.assign({}, currDB); | ||
tripleDB.save(ts, newDb); | ||
@@ -77,0 +77,0 @@ fetch("https://instant-server.herokuapp.com/api/transact", { |
{ | ||
"name": "instant-local-throwaway", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "This is an experiment for instant", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -95,4 +95,4 @@ import { useState, useEffect } from "react"; | ||
function transact(ts: any[], db: any) { | ||
const newDb = { ...db }; | ||
function transact(ts: any[], currDB: any) { | ||
const newDb = { ...currDB }; | ||
tripleDB.save(ts, newDb); | ||
@@ -99,0 +99,0 @@ fetch("https://instant-server.herokuapp.com/api/transact", { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1561865