@togatherlabs/event-sdk 1.0.1 → 1.0.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.
- package/README.md +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -103,7 +103,7 @@ pnpm add @bufbuild/protobuf@^2.9.0
|
|
|
103
103
|
**Example usage:**
|
|
104
104
|
|
|
105
105
|
```ts
|
|
106
|
-
import { UserCreated, UserCreatedSchema } from '
|
|
106
|
+
import { UserCreated, UserCreatedSchema } from '<path>/user/create/v1/user_pb';
|
|
107
107
|
import { create, toBinary, fromBinary, toJson } from '@bufbuild/protobuf';
|
|
108
108
|
|
|
109
109
|
// Create a new message
|
|
@@ -126,6 +126,9 @@ const json = toJson(UserCreatedSchema, decoded);
|
|
|
126
126
|
|
|
127
127
|
> **Tip:** Use `toBinary`/`fromBinary` for Kafka or network transmission. Use `toJson`/`fromJson` for logging or debugging.
|
|
128
128
|
|
|
129
|
+
|
|
130
|
+
<br>
|
|
131
|
+
|
|
129
132
|
### Python
|
|
130
133
|
|
|
131
134
|
**Dependencies:**
|
package/package.json
CHANGED