Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@convey/react

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@convey/react - npm Package Compare versions

Comparing version 0.6.1 to 0.7.0-i.0

core/client/index.d.ts

48

CHANGELOG.md

@@ -6,35 +6,28 @@ # Change Log

## [0.6.1](https://github.com/lttb/convey/compare/@convey/react@0.6.0...@convey/react@0.6.1) (2022-01-09)
# [0.7.0-i.0](https://github.com/lttb/convey/compare/@convey/react@0.6.1...@convey/react@0.7.0-i.0) (2022-12-22)
### Features
### Bug Fixes
- drop lockfiles ([a50cbf3](https://github.com/lttb/convey/commit/a50cbf3417f98e2ac5d860ec31f0dc0dc5b62bee))
- initial invalidate impl ([6a50c19](https://github.com/lttb/convey/commit/6a50c194b7682ed9d134528247a3ad13c93cd831))
- upgrade dependencies and fix example ([c81e132](https://github.com/lttb/convey/commit/c81e13237aab63d48924cf87043b883f5fc78b41))
* **react:** fix refresh type ([a4fd975](https://github.com/lttb/convey/commit/a4fd97596af6edcab4c6717aae1d6e1c16e9477b))
## [0.6.1](https://github.com/lttb/convey/compare/@convey/react@0.6.0...@convey/react@0.6.1) (2022-01-09)
### Bug Fixes
- **react:** fix refresh type ([a4fd975](https://github.com/lttb/convey/commit/a4fd97596af6edcab4c6717aae1d6e1c16e9477b))
# [0.6.0](https://github.com/lttb/convey/compare/@convey/react@0.5.0...@convey/react@0.6.0) (2022-01-09)
### Bug Fixes
* **core, react:** fix build ([b99ea2c](https://github.com/lttb/convey/commit/b99ea2c4ce524b4401a8e8708ccd242c62d55825))
- **core, react:** fix build ([b99ea2c](https://github.com/lttb/convey/commit/b99ea2c4ce524b4401a8e8708ccd242c62d55825))
# [0.5.0](https://github.com/lttb/convey/compare/@convey/react@0.4.0...@convey/react@0.5.0) (2022-01-09)
### Features
* **react:** refresh as promise ([f1ef0bc](https://github.com/lttb/convey/commit/f1ef0bcf4666e47899de446ab15bb9fe5d124e7b))
- **react:** refresh as promise ([f1ef0bc](https://github.com/lttb/convey/commit/f1ef0bcf4666e47899de446ab15bb9fe5d124e7b))
# [0.4.0](https://github.com/lttb/convey/compare/@convey/react@0.3.0...@convey/react@0.4.0) (2021-11-25)

@@ -44,33 +37,18 @@

# [0.3.0](https://github.com/lttb/convey/compare/@convey/react@0.2.0...@convey/react@0.3.0) (2021-11-24)
### Features
* **core, react:** improve types ([161799f](https://github.com/lttb/convey/commit/161799feb8747be85e3c66313b44d63025acaf0b))
- **core, react:** improve types ([161799f](https://github.com/lttb/convey/commit/161799feb8747be85e3c66313b44d63025acaf0b))
# [0.2.0](https://github.com/lttb/convey/compare/@convey/react@0.1.0...@convey/react@0.2.0) (2021-11-22)
### Features
* **react:** fix hook types ([4964f48](https://github.com/lttb/convey/commit/4964f483c5fd4369429c40f97db0aaa93e5b85c9))
- **react:** fix hook types ([4964f48](https://github.com/lttb/convey/commit/4964f483c5fd4369429c40f97db0aaa93e5b85c9))
# 0.1.0 (2021-11-04)
### Features
* base implementation ([b3102e4](https://github.com/lttb/convey/commit/b3102e4143026fe0c00cfd22e0cb129d386427eb))
- base implementation ([b3102e4](https://github.com/lttb/convey/commit/b3102e4143026fe0c00cfd22e0cb129d386427eb))

@@ -1,1 +0,1 @@

{"main":"index.cjs","module":"index.js","types":"index.d.ts","exports":{".":{"import":"./index.js","require":"./index.cjs"}},"name":"@convey/react","version":"0.6.1","author":"Kenzhaev Artur <kenzhaev.artur@gmail.com>","license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/lttb/convey.git","directory":"@convey/react"},"scripts":{"test":"","prebuild":"rm -rf lib","build":"rollup -c"},"peerDependencies":{"@convey/core":"latest","react":">=16.0.0"}}
{"main":"index.cjs","module":"index.js","types":"index.d.ts","exports":{".":{"import":"./index.js","require":"./index.cjs"}},"name":"@convey/react","version":"0.7.0-i.0","author":"Kenzhaev Artur <kenzhaev.artur@gmail.com>","license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/lttb/convey.git","directory":"@convey/react"},"scripts":{"test":"","prebuild":"rm -rf lib","build":"rollup -c --bundleConfigAsCjs"},"peerDependencies":{"@convey/core":"*","react":">=16.0.0"}}
import { useState, useEffect } from 'react';
import { _Promise, config, resolveStream, subscribeStream, subscribe } from '@convey/core';
import { getStructure, _Promise, config, resolveStream, subscribeStream, subscribe } from '@convey/core';
function useResolver(structure) {
function useResolver(str) {
const structure = getStructure(str);
const { resolver } = structure !== null && structure !== void 0 ? structure : {};

@@ -6,0 +7,0 @@ const [resultPromise, setResultPromise] = useState(null);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc