snoots-revived
Advanced tools
Changelog
1.0.0-dev.4 (2024-04-12)
Changelog
1.0.0-dev.1 (2024-03-11)
Client.users.fetchMe()
is now Client.me.fetch()
.getRandomPost()
replace with getRandomPostId()
.Capcha
-> Captcha
(fixed typo).Post.thumbnailHeight
and Post.thumbnailWidth
have
been temporarily removed. They were not yet supposed to be exposed, but
they slipped through the cracks.import Client from "snoots"
to
using import { Client } from "snoots"
. If you are using CommonJS
switch from const Client = require("snoots")
to
const { Client } = require("snoots")
, or to
const Client = require("snoots").Client
.null
have been replaced with
undefined
. This includes mapping null
to undefined
in Reddit's API
responses. If you were checking any values for existence with === null
you should replace that check with === undefined
(or == null
or
== undefined
).Client.authFromCode()
has been replaced with
Client.fromAuthCode()
.Client.getAuthUrl()
has been renamed to
Client.makeAuthUrl()
.for await
loops.debug
module (fbb7bb3)null
with undefined
(5ab17b6)