@thewhateverapp/tile-sdk 0.18.0 → 0.18.1

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 +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -25,7 +25,7 @@ npm install @thewhateverapp/tile-sdk
25
25
  ### React Component
26
26
 
27
27
  ```tsx
28
- import { TileProvider, useTile } from '@thewhateverapp/tile-sdk/react';
28
+ import { TileProvider, useTile } from '@thewhateverapp/tile-sdk';
29
29
 
30
30
  function MyTileApp() {
31
31
  return (
@@ -428,7 +428,7 @@ interface UserContext {
428
428
  ### Example: Simple Counter Tile
429
429
 
430
430
  ```tsx
431
- import { TileProvider, useTile } from '@thewhateverapp/tile-sdk/react';
431
+ import { TileProvider, useTile } from '@thewhateverapp/tile-sdk';
432
432
  import { useState, useEffect } from 'react';
433
433
 
434
434
  function CounterTile() {
@@ -477,7 +477,7 @@ function Counter() {
477
477
  ### Example: User Profile Tile
478
478
 
479
479
  ```tsx
480
- import { TileProvider, useTile } from '@thewhateverapp/tile-sdk/react';
480
+ import { TileProvider, useTile } from '@thewhateverapp/tile-sdk';
481
481
  import { useState, useEffect } from 'react';
482
482
 
483
483
  function ProfileTile() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thewhateverapp/tile-sdk",
3
- "version": "0.18.0",
3
+ "version": "0.18.1",
4
4
  "description": "SDK for building interactive tiles on The Whatever App platform",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",