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

@rabbitholegg/questdk-plugin-utils

Package Overview
Dependencies
Maintainers
3
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rabbitholegg/questdk-plugin-utils - npm Package Compare versions

Comparing version 1.0.0-alpha.32 to 1.0.0-alpha.33

6

CHANGELOG.md
# @rabbitholegg/questdk-plugin-utils
## 1.0.0-alpha.33
### Minor Changes
- [#424](https://github.com/rabbitholegg/questdk-plugins/pull/424) [`495680d0`](https://github.com/rabbitholegg/questdk-plugins/commit/495680d01d42dde9c1301d64b725bb80f8813bf8) Thanks [@sammccord](https://github.com/sammccord)! - Change validateFollow to accept usernames/channel strings or fid's as numbers, fetchUser to accept numerical fid's
## 1.0.0-alpha.32

@@ -4,0 +10,0 @@

2

package.json
{
"name": "@rabbitholegg/questdk-plugin-utils",
"version": "1.0.0-alpha.32",
"version": "1.0.0-alpha.33",
"exports": {

@@ -5,0 +5,0 @@ "require": "./dist/cjs/index.js",

@@ -229,3 +229,5 @@ import {

export type FollowActionParams = {
target: Address | string // Might want a more precise type here for FID?
// if the target is a string, then assume it's a valid username or channel name
// if it's a number, assume it's a fid, but that will rarely be the case
target: Address | string | number
project?: Address | string

@@ -243,3 +245,5 @@ }

export const FollowActionDetailSchema = z.object({
target: z.union([z.string(), EthAddressSchema]),
// if the target is a string, then assume it's a valid username or channel name
// if it's a number, assume it's a fid, but that will rarely be the case
target: z.union([z.string(), EthAddressSchema, z.number()]),
project: z.union([z.string(), EthAddressSchema]).optional(),

@@ -250,3 +254,5 @@ })

export const FollowActionFormSchema = z.object({
target: z.union([z.string(), EthAddressSchema]),
// if the target is a string, then assume it's a valid username or channel name
// if it's a number, assume it's a fid, but that will rarely be the case
target: z.union([z.string(), EthAddressSchema, z.number()]),
})

@@ -253,0 +259,0 @@ export type FollowActionForm = z.infer<typeof FollowActionFormSchema>

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

Sorry, the diff of this file is too big to display

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

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

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

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

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

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

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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